mirror of
https://github.com/ceph/ceph
synced 2025-03-06 00:10:04 +00:00
ceph-volume: main: py3 support fixes with print
Signed-off-by: Alfredo Deza <adeza@redhat.com>
This commit is contained in:
parent
a774c8d475
commit
bab2aeff4a
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user