]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
python: remove 'from __future__ import unicode_literals'
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 28 Apr 2021 01:07:51 +0000 (01:07 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 28 Apr 2021 03:43:34 +0000 (03:43 +0000)
as well as a comment about Python 2 strings, which we don't want to be
reminded of.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/scripting/bin/gen_ntstatus.py
source4/scripting/bin/gen_werror.py

index 8b4e96503132a09bd3e877f7fe2489ab7be983e6..b4a9bfc1586890006ebc5c2e7ebfa28ecaf12145 100755 (executable)
@@ -20,9 +20,6 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
-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
index 2e10e5b02596cf9d92d8bd135ab79a1d22860252..1ac9d330d050f0376f157a253311faf609687653 100755 (executable)
@@ -20,9 +20,6 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
-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