From e84924fdfe22829d8dcc733e4aa9bd3af30f0c66 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Wed, 28 Apr 2021 01:07:51 +0000 Subject: [PATCH] python: remove 'from __future__ import unicode_literals' as well as a comment about Python 2 strings, which we don't want to be reminded of. Signed-off-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- source4/scripting/bin/gen_ntstatus.py | 3 --- source4/scripting/bin/gen_werror.py | 3 --- 2 files changed, 6 deletions(-) diff --git a/source4/scripting/bin/gen_ntstatus.py b/source4/scripting/bin/gen_ntstatus.py index 8b4e9650313..b4a9bfc1586 100755 --- a/source4/scripting/bin/gen_ntstatus.py +++ b/source4/scripting/bin/gen_ntstatus.py @@ -20,9 +20,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . # -from __future__ import unicode_literals -# this file is a bin script and was not imported by any other modules -# so it should be fine to enable unicode string for python2 import sys, os.path, io, string from gen_error_common import parseErrorDescriptions, ErrorDef diff --git a/source4/scripting/bin/gen_werror.py b/source4/scripting/bin/gen_werror.py index 2e10e5b0259..1ac9d330d05 100755 --- a/source4/scripting/bin/gen_werror.py +++ b/source4/scripting/bin/gen_werror.py @@ -20,9 +20,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . # -from __future__ import unicode_literals -# this file is a bin script and was not imported by any other modules -# so it should be fine to enable unicode string for python2 import sys, os.path, io, string from gen_error_common import parseErrorDescriptions, ErrorDef -- 2.47.3