[libgames-support] Fix paretheses mistake in the style checker



commit e6d62736a73bcb248a5e5d33fe9e96e88b2fe1c6
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Sep 20 18:02:42 2015 -0500

    Fix paretheses mistake in the style checker
    
    Did I break this? Who knows.

 style-checker |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/style-checker b/style-checker
index 0c0b9e7..e00b9c6 100755
--- a/style-checker
+++ b/style-checker
@@ -126,9 +126,9 @@ def main():
                     and not (getLineData(currLine).startswith(" *")
                              or getLineData(currLine).startswith("#")
                              or (re.findall("\s*\(",
-                                 getLineData(currLine) != []
+                                 getLineData(currLine)) != []
                                  and getLineData(currLine, 0)
-                                 in ['\t', ' ']))):
+                                 in ['\t', ' '])):
                     printIssue(currLine, "multiple whitespace before (")
                     nIssues += 1
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]