summaryrefslogtreecommitdiff
path: root/pygnulib
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2022-08-03 17:55:24 +0200
committerBruno Haible <bruno@clisp.org>2022-08-03 18:09:34 +0200
commitf531502a86fc921fa02b24ba9d7170ff3b8f93b4 (patch)
tree6dc75b46ed4350e349975bf408f33a24e7d1cefc /pygnulib
parente2d15e5c893e42b32a840a6641d5fa8cef7b4f7c (diff)
downloadgnulib-f531502a86fc921fa02b24ba9d7170ff3b8f93b4.tar.gz
gnulib-tool.py: Fix broken 'for' loop.
* gnulib-tool.py (main): Canonicalize inctests before creating the GLConfig. Rewrite a broken 'for' loop. * pygnulib/GLConfig.py (GLConfig.setTestFlags): Remove unused statement.
Diffstat (limited to 'pygnulib')
-rw-r--r--pygnulib/GLConfig.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/pygnulib/GLConfig.py b/pygnulib/GLConfig.py
index d126b35dbe..f59b883a91 100644
--- a/pygnulib/GLConfig.py
+++ b/pygnulib/GLConfig.py
@@ -712,7 +712,6 @@ class GLConfig(object):
def setTestFlags(self, testflags):
'''Specify test flags. You can get flags from TESTS variable.'''
if type(testflags) is list or type(testflags) is tuple:
- old_testflags = self.table['testflags']
self.table['testflags'] = list()
for flag in testflags:
try: # Try to enable each flag