From f00ef30ee0a68bf91cfd081afc784cb8ffd00656 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 29 Jul 2022 16:35:28 +0200 Subject: 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. --- pygnulib/GLMakefileTable.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pygnulib/GLMakefileTable.py') 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')) -- cgit v1.2.1