]> Savannah Git Hosting - gnulib.git/commitdiff
gnulib-tool.py: Coding style: Avoid not().
authorCollin Funk <collin.funk1@gmail.com>
Sat, 16 Mar 2024 14:20:39 +0000 (07:20 -0700)
committerBruno Haible <bruno@clisp.org>
Sat, 16 Mar 2024 16:12:09 +0000 (17:12 +0100)
* pygnulib/GLModuleSystem.py (isNonTests): Avoid not(). Write
'not condition' instead of 'not(condition)'.

ChangeLog
pygnulib/GLModuleSystem.py

index 64ea4b63e75c846f6c6317189bcb9d08b1ca1359..44ff5a5475305a25bc16c21d64fff1b8b09e3cd6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-03-16  Collin Funk  <collin.funk1@gmail.com>
+
+       gnulib-tool.py: Coding style: Avoid not().
+       * pygnulib/GLModuleSystem.py (isNonTests): Avoid not(). Write
+       'not condition' instead of 'not(condition)'.
+
 2024-03-16  Bruno Haible  <bruno@clisp.org>
 
        gnulib-tool.py: Coding style: Avoid bool().
index 9ad4715d8b57a3c250f853cb866bcbc7d93c4433..cbe2534c72a18328c3c7d8d6c5a09667317fc158 100644 (file)
@@ -314,7 +314,7 @@ class GLModule(object):
         '''GLModule.isTests() -> bool
 
         Check whether module is not a -tests version of module.'''
-        result = not(self.isTests())
+        result = not self.isTests()
         return result
 
     def getTestsName(self):