summaryrefslogtreecommitdiff
path: root/pygnulib/GLConfig.py
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2022-08-04 21:53:51 +0200
committerBruno Haible <bruno@clisp.org>2022-08-04 22:19:36 +0200
commit362f779b9df810f67c2f32afc0cd8c0707862a8a (patch)
tree92d3a72255b336aca0dfeb5ddd5cfbcd527143e0 /pygnulib/GLConfig.py
parent895f7af02c482e218745550c87e77d21d5aaaa25 (diff)
downloadgnulib-362f779b9df810f67c2f32afc0cd8c0707862a8a.tar.gz
gnulib-tool.py: Coding style: Revisit line breaks.
* gnulib-tool.py: Avoid line breaks at arbitrary points inside expressions. Use line breaks to clarify [... for ...] iterations. * pygnulib/*.py: Likewise.
Diffstat (limited to 'pygnulib/GLConfig.py')
-rw-r--r--pygnulib/GLConfig.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pygnulib/GLConfig.py b/pygnulib/GLConfig.py
index 00bfbdf4fb..039b4f012d 100644
--- a/pygnulib/GLConfig.py
+++ b/pygnulib/GLConfig.py
@@ -386,7 +386,8 @@ class GLConfig(object):
raise TypeError('localpath element must be a string, not %s' % type(dir).__name__)
else:
raise TypeError('localpath must be a list, not %s' % type(localpath).__name__)
- self.table['localpath'] = [ remove_trailing_slashes(dir) for dir in localpath ]
+ self.table['localpath'] = [ remove_trailing_slashes(dir)
+ for dir in localpath ]
def resetLocalPath(self):
'''Reset a list of local override directories where to look up files