[libgames-support] Style checker should indicate no issues found if patch is clean



commit 1274d063b4b8cb388b7a9c36c365700c9171f22b
Author: Sahil Sareen <sahil sareen hotmail com>
Date:   Sat Oct 24 21:20:17 2015 +0530

    Style checker should indicate no issues found if patch is clean
    
      - Update style-checker
    
    https://bugzilla.gnome.org/show_bug.cgi?id=757066

 style-checker |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/style-checker b/style-checker
index e00b9c6..1fd0640 100755
--- a/style-checker
+++ b/style-checker
@@ -149,13 +149,15 @@ def main():
 
     if nIssues != 0:
         if nIssues == 1:
-            print("Guideline checker found " + str(nIssues) + " issue...")
+            print("Guideline checker found one issue.")
         else:
-            print("Guideline checker found " + str(nIssues) + " issues...")
+            print("Guideline checker found " + str(nIssues) + " issues.")
 
         print("We strongly recommend you to fix these.")
         print("To ignore use `git commit --no-verify`")
         return -1
+    else:
+        print("Guideline checker found no issues.")
 
     return 0
 


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