ceph-volume: main: py3 support fixes with print

Signed-off-by: Alfredo Deza <adeza@redhat.com>
This commit is contained in:
Alfredo Deza 2017-07-17 15:19:20 -04:00
parent a774c8d475
commit bab2aeff4a

View File

@ -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',