]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind: do not 'import print_function'
authorKefu Chai <kchai@redhat.com>
Mon, 24 May 2021 03:40:55 +0000 (11:40 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 24 May 2021 04:27:40 +0000 (12:27 +0800)
since we've migrated to python3, there is no need to "import
print_function" for accessing "print()" anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/cephfs/setup.py
src/pybind/rados/setup.py
src/pybind/rbd/setup.py
src/pybind/rgw/setup.py

index c3d40df05a8f4210aec9d070b0994cd63db740e2..f6c2025f75d3575e7395c103c4bd0411b03f0f42 100755 (executable)
@@ -1,5 +1,3 @@
-from __future__ import print_function
-
 import os
 import pkgutil
 import shutil
index 0d1047825b3b61c4534b331e29410a2811bce350..62b54d26b6c81336549511a427da0a6d2e06dd2c 100755 (executable)
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import pkgutil
 if not pkgutil.find_loader('setuptools'):
     from distutils.core import setup
index 73ea4555f46218e27bc7c358487797c665e11213..1f20c3ed42fe611301726a3710af55cbfce791e3 100755 (executable)
@@ -1,5 +1,3 @@
-from __future__ import print_function
-
 import os
 import pkgutil
 import shutil
index 663604e8f76cc63e1913ada17c0a528adb3fecc9..ed45399d394695daac2c4f8322223d8d1c65b0aa 100755 (executable)
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import pkgutil
 if not pkgutil.find_loader('setuptools'):
     from distutils.core import setup