From: Alfredo Deza Date: Mon, 17 Jul 2017 19:19:20 +0000 (-0400) Subject: ceph-volume: main: py3 support fixes with print X-Git-Tag: ses5-milestone10~3^2~5^2~34 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bab2aeff4a8d64f27a1c1185ffc6f77c5b9dff07;p=ceph.git ceph-volume: main: py3 support fixes with print Signed-off-by: Alfredo Deza --- diff --git a/src/ceph-volume/ceph_volume/main.py b/src/ceph-volume/ceph_volume/main.py index ca819bbe2364..4183542385ba 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',