summaryrefslogtreecommitdiff
path: root/python/samba/tests/dns_forwarder.py
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 /python/samba/tests/dns_forwarder.py
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 'python/samba/tests/dns_forwarder.py')
-rw-r--r--python/samba/tests/dns_forwarder.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/python/samba/tests/dns_forwarder.py b/python/samba/tests/dns_forwarder.py
index 403b9623a73..52511033abd 100644
--- a/python/samba/tests/dns_forwarder.py
+++ b/python/samba/tests/dns_forwarder.py
@@ -15,7 +15,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-from __future__ import print_function
import os
import sys
import random