From 6e7acd77707c16aa79cec22238ef944682d9184b Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sun, 22 Mar 2020 17:27:24 +0000 Subject: Python 2 -> 3 --- what-branches.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'what-branches.py') 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) -- cgit v1.2.3