summaryrefslogtreecommitdiff
path: root/tools/examples/blame.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/examples/blame.py')
-rwxr-xr-xtools/examples/blame.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/examples/blame.py b/tools/examples/blame.py
index 87d33b3..14368e5 100755
--- a/tools/examples/blame.py
+++ b/tools/examples/blame.py
@@ -91,9 +91,9 @@ def blame(path, filename, rev=None):
# print ''.join(diffresult)
# print annotresult
for x in range(len(annotresult.keys())):
- sys.stdout.write("Line %d (rev %d):%s" % (x,
- annotresult[x][0],
- annotresult[x][1]))
+ sys.stdout.write("Line %d (r%d):%s" % (x,
+ annotresult[x][0],
+ annotresult[x][1]))
def usage():
print("USAGE: blame.py [-r REV] repos-path file")