From bab2aeff4a8d64f27a1c1185ffc6f77c5b9dff07 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Mon, 17 Jul 2017 15:19:20 -0400 Subject: [PATCH] ceph-volume: main: py3 support fixes with print Signed-off-by: Alfredo Deza --- src/ceph-volume/ceph_volume/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ceph-volume/ceph_volume/main.py b/src/ceph-volume/ceph_volume/main.py index ca819bbe236..4183542385b 100644 --- a/src/ceph-volume/ceph_volume/main.py +++ b/src/ceph-volume/ceph_volume/main.py @@ -1,3 +1,4 @@ +from __future__ import print_function import argparse import os import pkg_resources @@ -108,7 +109,7 @@ Ceph Conf: {ceph_path} # no flags where passed in, return the help menu instead of waiting for # argparse which will end up complaning that there are no args if len(argv) <= 1: - print self.help(warning=True) + print(self.help(warning=True)) return parser = argparse.ArgumentParser( prog='ceph-volume',