opt/ketchup/ketchup-list.patch

14 lines
444 B
Diff

--- a/ketchup Sun Mar 5 11:06:59 2006 -0600
+++ b/ketchup Sun Mar 5 11:10:11 2006 -0600
@@ -687,7 +687,10 @@ if options["list-trees"]:
l = version_info.keys()
l.sort()
for tree in l:
- lprint(tree, ["(unsigned)","(signed)"][version_info[tree][3]])
+ if version_info[tree][3] == 0:
+ lprint(tree, "(unsigned)")
+ else:
+ lprint(tree, "(signed)")
lprint(" " + version_info[tree][4])
sys.exit(0)