[Libreoffice-commits] dev-tools.git: scripts/gerrit-filter-domain

Miklos Vajna vmiklos at collabora.co.uk
Mon Feb 17 10:29:28 CET 2014


 scripts/gerrit-filter-domain |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

New commits:
commit bfdcbaadd632a94e30064e7b8bdec8ab9b38b94f
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Mon Feb 17 10:28:53 2014 +0100

    gerrit-filter-domain: skip one change only once
    
    Change-Id: I3fde3477e5df65ac9ab379a80ef27b48089c4d59

diff --git a/scripts/gerrit-filter-domain b/scripts/gerrit-filter-domain
index 8ff7d6c..9f353c3 100755
--- a/scripts/gerrit-filter-domain
+++ b/scripts/gerrit-filter-domain
@@ -57,11 +57,12 @@ def main(argv):
                         break
                 if skip:
                     break
-            for j in i['patchSets'][-1]['approvals']:
-                if j['value'] == "-1":
-                    skippedChanges.append((i, "-1 review"))
-                    skip = True
-                    break
+            if not skip:
+                for j in i['patchSets'][-1]['approvals']:
+                    if j['value'] == "-1":
+                        skippedChanges.append((i, "-1 review"))
+                        skip = True
+                        break
         except:
             pass
         if skip:


More information about the Libreoffice-commits mailing list