mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-09 14:44:11 +02:00
Had forgot about this, and it worked by accident when tested it. The patch is smaller than was expecting, so tossing it in filesdir like the rest. Not that this package has a long life ahead of it, I only look at it now and then because I know someone on the forums that is using it (I don't). Next time there is a major issue I'd say it should be last-rited. Closes: https://bugs.gentoo.org/955505 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
41 lines
1.3 KiB
Diff
41 lines
1.3 KiB
Diff
Generated with `2to3 -n -w --no-diffs configure .config/*.py`.
|
|
https://bugs.gentoo.org/955505
|
|
--- a/.config/argparse.py
|
|
+++ b/.config/argparse.py
|
|
@@ -100 +100 @@
|
|
- basestring
|
|
+ str
|
|
@@ -102 +102 @@
|
|
- basestring = str
|
|
+ str = str
|
|
@@ -1724 +1724 @@
|
|
- if isinstance(action.default, basestring):
|
|
+ if isinstance(action.default, str):
|
|
@@ -2202 +2202 @@
|
|
- if isinstance(value, basestring):
|
|
+ if isinstance(value, str):
|
|
--- a/.config/options.py
|
|
+++ b/.config/options.py
|
|
@@ -99 +99 @@
|
|
- print str,
|
|
+ print(str, end=' ')
|
|
--- a/.config/repl.py
|
|
+++ b/.config/repl.py
|
|
@@ -17 +17 @@
|
|
-print re.sub('@\w+@', repl_func, sys.stdin.read())
|
|
+print(re.sub('@\w+@', repl_func, sys.stdin.read()))
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -117 +117 @@
|
|
- self.help_names = self.help_groups.keys()
|
|
+ self.help_names = list(self.help_groups.keys())
|
|
@@ -278,3 +278,3 @@
|
|
- print(e.output)
|
|
- print("This usually means that '" + pname + \
|
|
- "' development files are not installed")
|
|
+ print((e.output))
|
|
+ print(("This usually means that '" + pname + \
|
|
+ "' development files are not installed"))
|
|
@@ -333 +333 @@
|
|
- if type(v) == str or type(v) == unicode:
|
|
+ if type(v) == str or type(v) == str:
|