From: Douglas Bagnall Date: Wed, 28 Apr 2021 01:07:51 +0000 (+0000) Subject: python: remove 'from __future__ import unicode_literals' X-Git-Tag: tevent-0.11.0~1008 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e84924fdfe22829d8dcc733e4aa9bd3af30f0c66;p=thirdparty%2Fsamba.git 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 --- 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