summaryrefslogtreecommitdiff
path: root/gnulib-tool.py
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2022-07-30 13:29:26 +0200
committerBruno Haible <bruno@clisp.org>2022-07-31 07:07:40 +0200
commit0a624ee7dc62a19d28651542f2c627b6de9a18d7 (patch)
treeaee70730c7c022209c493f1f6538593d3334a152 /gnulib-tool.py
parentd2abfb903c5bd24fb6b39e39bb2af15ee4c6a14f (diff)
downloadgnulib-0a624ee7dc62a19d28651542f2c627b6de9a18d7.tar.gz
gnulib-tool.py: Assume Python 3.
* gnulib-tool.py: Don't allow 'bytes' as an alternative to 'str'. * pygnulib/*.py: Likewise.
Diffstat (limited to 'gnulib-tool.py')
-rwxr-xr-xgnulib-tool.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/gnulib-tool.py b/gnulib-tool.py
index ae4a839da9..e36f84b6ab 100755
--- a/gnulib-tool.py
+++ b/gnulib-tool.py
@@ -867,10 +867,6 @@ def main():
dest = files[1]
else: # if len(files) != 2
dest = '.'
- if type(srcpath) is bytes:
- srcpath = srcpath.decode(ENCS['default'])
- if type(dest) is bytes:
- dest = dest.decode(ENCS['default'])
if not auxdir:
auxdir = 'build-aux'
if not sourcebase: