summaryrefslogtreecommitdiff
path: root/pygnulib/GLMakefileTable.py
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2022-07-29 16:35:28 +0200
committerBruno Haible <bruno@clisp.org>2022-07-29 16:35:28 +0200
commitf00ef30ee0a68bf91cfd081afc784cb8ffd00656 (patch)
tree4a03672a6e133c7a3bf309eeb2a676854222dece /pygnulib/GLMakefileTable.py
parent7d56b9e140fcabdbc944a65f18b9a0d5f6a4aabb (diff)
downloadgnulib-f00ef30ee0a68bf91cfd081afc784cb8ffd00656.tar.gz
gnulib-tool.py: Use mainstream coding style.
* gnulib-tool.py: Clarify the coding style. Fix some pycodestyle warnings. * pygnulib/constants.py: Likewise. * pygnulib/GLEmiter.py: Likewise. * pygnulib/GLImport.py: Likewise. * pygnulib/GLMakefileTable.py: Likewise.
Diffstat (limited to 'pygnulib/GLMakefileTable.py')
-rw-r--r--pygnulib/GLMakefileTable.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pygnulib/GLMakefileTable.py b/pygnulib/GLMakefileTable.py
index 74e6fe7d7d..1e848395d0 100644
--- a/pygnulib/GLMakefileTable.py
+++ b/pygnulib/GLMakefileTable.py
@@ -117,9 +117,9 @@ class GLMakefileTable(object):
mfx = makefile
dir2 = string()
while dir1 and \
- (joinpath(self.config['destdir'], dir1, mfd) or
- joinpath(dir1, mfd) == joinpath(sourcebase, mfx) or
- (inctests and joinpath(dir1, mfd) == joinpath(testsbase, mfx))):
+ (joinpath(self.config['destdir'], dir1, mfd)
+ or joinpath(dir1, mfd) == joinpath(sourcebase, mfx)
+ or (inctests and joinpath(dir1, mfd) == joinpath(testsbase, mfx))):
dir2 = joinpath(os.path.basename(dir1), dir2)
dir1 = os.path.dirname(dir1)
self.editor(dir1, 'EXTRA_DIST', joinpath(dir2, 'gnulib-cache.m4'))