only use colorsvn if it is found

This commit is contained in:
Josh Holtrop committed 2011-02-07 14:37:15 -05:00
1 parent 5dcbb2b7a1
commit b692bfd688
1 file changed
+1 -1
+1 -1
View File
@@ -197,7 +197,7 @@ def main(argv):
sys.stdout.write(getSVNRoot(realsvn) + '\n') sys.stdout.write(getSVNRoot(realsvn) + '\n')
return 0 return 0
if argv[0] in ('st', 'status', 'log'): if argv[0] in ('st', 'status', 'log') and colorsvn != '':
realsvn = colorsvn realsvn = colorsvn
Popen([realsvn] + argv).wait() Popen([realsvn] + argv).wait()