summaryrefslogtreecommitdiffstats
path: root/tools/git-obsolete-branch.py
diff options
context:
space:
mode:
authorJINMEI Tatuya <jinmei@isc.org>2012-03-07 06:13:52 +0100
committerJINMEI Tatuya <jinmei@isc.org>2012-03-07 06:13:52 +0100
commit64caf0ab35936f4df289032579783a63a5f26fee (patch)
tree379e650015f71bd6af0f105dfd2b2681c2b6e860 /tools/git-obsolete-branch.py
parent[1541] Comment about pruning remote origin added. (diff)
downloadkea-64caf0ab35936f4df289032579783a63a5f26fee.tar.xz
kea-64caf0ab35936f4df289032579783a63a5f26fee.zip
[1541] trivial cleanup: removed unnecessary EOL semilcolons.
Diffstat (limited to 'tools/git-obsolete-branch.py')
-rwxr-xr-xtools/git-obsolete-branch.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/git-obsolete-branch.py b/tools/git-obsolete-branch.py
index 68ca51e95d..1c940acefe 100755
--- a/tools/git-obsolete-branch.py
+++ b/tools/git-obsolete-branch.py
@@ -120,7 +120,7 @@ def branch_print(branches, csv, print_merged, print_notmerged, print_stats):
print("NOT merged branches: %s" % (notmerged_str))
if (print_stats):
- print("#----------");
+ print("#----------")
print("#Merged : %d" % merged)
print("#Not merged: %d" % notmerged)
@@ -139,20 +139,20 @@ def main():
Lists all obsolete (fully merged into master) branches.
"""
- csv = False;
- merged = True;
- unmerged = False;
- stats = False;
+ csv = False
+ merged = True
+ unmerged = False
+ stats = False
for x in sys.argv[1:]:
if x == "--csv":
- csv = True;
+ csv = True
elif x == "--unmerged":
- unmerged = True;
+ unmerged = True
elif x == "--skip-merged":
- merged = False;
+ merged = False
elif x == "--stats":
- stats = True;
+ stats = True
elif x == "--help":
show_help()
return