summaryrefslogtreecommitdiff
path: root/python/samba/tests/auth_log.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/auth_log.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/auth_log.py')
-rw-r--r--python/samba/tests/auth_log.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/python/samba/tests/auth_log.py b/python/samba/tests/auth_log.py
index 3c56bc48e7f..d57d765a83a 100644
--- a/python/samba/tests/auth_log.py
+++ b/python/samba/tests/auth_log.py
@@ -15,7 +15,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-from __future__ import print_function
"""Tests for the Auth and AuthZ logging.
"""
import samba.tests