aboutsummaryrefslogtreecommitdiff
path: root/what-branches.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2020-03-22 17:27:24 +0000
committerRob Austein <sra@hactrn.net>2020-03-22 17:27:24 +0000
commit6e7acd77707c16aa79cec22238ef944682d9184b (patch)
treedbfce74eca04e08a908631a1976194c26702d79b /what-branches.py
parent34ecad1d04c6b3add8077315bac1f954002fb7da (diff)
Python 2 -> 3
Diffstat (limited to 'what-branches.py')
-rwxr-xr-xwhat-branches.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/what-branches.py b/what-branches.py
index 56e2082..34672cc 100755
--- a/what-branches.py
+++ b/what-branches.py
@@ -9,6 +9,6 @@ from sys import argv
for root in argv[1:] or listdir("."):
for head, dirs, files in walk(root):
if ".git" in dirs and not head.endswith("/gitolite"):
- print head
+ print(head)
for line in check_output(("git", "branch", "-a"), cwd = head).splitlines():
- print " ", line
+ print(" ", line)