diff options
| author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2021-04-28 01:02:37 +0000 |
|---|---|---|
| committer | Andrew Bartlett <abartlet@samba.org> | 2021-04-28 03:43:34 +0000 |
| commit | aecb2b779b88c13784b7c2691ae08da716d65ab2 (patch) | |
| tree | f9220ac9a4719396a348eb85b5f21cd7a57ccfd5 /source4/dsdb/tests/python/dirsync.py | |
| parent | a4cce28bfa3c1d0cd7e05c4628f6931eef8ce69f (diff) | |
| download | samba-aecb2b779b88c13784b7c2691ae08da716d65ab2.tar.gz samba-aecb2b779b88c13784b7c2691ae08da716d65ab2.tar.bz2 samba-aecb2b779b88c13784b7c2691ae08da716d65ab2.zip | |
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 'source4/dsdb/tests/python/dirsync.py')
| -rwxr-xr-x | source4/dsdb/tests/python/dirsync.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/dsdb/tests/python/dirsync.py b/source4/dsdb/tests/python/dirsync.py index 0ed0c7c9787..1ac719e4332 100755 --- a/source4/dsdb/tests/python/dirsync.py +++ b/source4/dsdb/tests/python/dirsync.py @@ -18,7 +18,6 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. -from __future__ import print_function import optparse import sys sys.path.insert(0, "bin/python") |
