summaryrefslogtreecommitdiff
path: root/lib/tdb
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2021-04-28 01:02:37 +0000
committerAndrew Bartlett <abartlet@samba.org>2021-04-28 03:43:34 +0000
commitaecb2b779b88c13784b7c2691ae08da716d65ab2 (patch)
treef9220ac9a4719396a348eb85b5f21cd7a57ccfd5 /lib/tdb
parenta4cce28bfa3c1d0cd7e05c4628f6931eef8ce69f (diff)
downloadsamba-aecb2b779b88c13784b7c2691ae08da716d65ab2.tar.gz
python: remove all 'from __future__ import print_function'
This made Python 2's print behave like Python 3's print(). In some cases, where we had: from __future__ import print_function """Intended module documentation...""" this will have the side effect of making the intended module documentation work as the actual module documentation (i.e. becoming __doc__), because it is once again the first statement in the module. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/tdb')
-rw-r--r--lib/tdb/python/tdbdump.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/tdb/python/tdbdump.py b/lib/tdb/python/tdbdump.py
index 306a950d28c..afc22d1d040 100644
--- a/lib/tdb/python/tdbdump.py
+++ b/lib/tdb/python/tdbdump.py
@@ -1,7 +1,6 @@
#!/usr/bin/env python3
# Trivial reimplementation of tdbdump in Python
-from __future__ import print_function
import tdb, sys
if len(sys.argv) < 2: