[sysadmin-bin] Fix indentation



commit d36f0ca0c556686a3f42eae54520960b80723426
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Mon Sep 30 17:06:50 2019 +0200

    Fix indentation

 gitlab/gitlab-operations.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gitlab/gitlab-operations.py b/gitlab/gitlab-operations.py
index 093befc..70f19fc 100755
--- a/gitlab/gitlab-operations.py
+++ b/gitlab/gitlab-operations.py
@@ -109,9 +109,9 @@ for project in projects:
         for branch_name in (stable_branches - protected_branches):
             branch = proj.branches.get(branch_name, lazy=True)
             branch.protect(developers_can_push=True, developers_can_merge=True)
-        except gitlab.exceptions.GitlabListError as e:
-            if e.response_code == 404:
-                pass
+    except gitlab.exceptions.GitlabListError as e:
+        if e.response_code == 404:
+            pass
 
     try:
         nodes = semi_rdf.read_rdf(doap_url % (project_name, default_branch, project_name))


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