[libgames-support] style-checker: missing space before ( in string template is OK



commit 070b5667435033117211e47f3d5118df05c77213
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Sep 20 13:24:42 2015 -0500

    style-checker: missing space before ( in string template is OK
    
    Note the extra check for ( here is removed.

 style-checker |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/style-checker b/style-checker
index 65b3e97..0c0b9e7 100755
--- a/style-checker
+++ b/style-checker
@@ -118,7 +118,7 @@ def main():
             if index > 1:
                 if getLineData(currLine, index - 1) != ' ' \
                     and getLineData(currLine, index - 1) \
-                        not in ['_', '(', '&', '*', '-', '(', '!', '\t', '"']:
+                        not in ['_', '(', '&', '*', '-', '$', '!', '\t', '"']:
                     printIssue(currLine, "missing whitespace before (")
                     nIssues += 1
                 elif getLineData(currLine, index - 2) == ' ' \


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