mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-18 15:28:12 +00:00
update raise syntax for python3 compatibility
This commit is contained in:
@ -6,9 +6,7 @@ from subprocess import Popen, PIPE
|
||||
cmd = ["git", "status", "--porcelain"]
|
||||
p = Popen(cmd, stdout=PIPE)
|
||||
output = p.communicate()[0]
|
||||
print output
|
||||
print(output)
|
||||
if output == "":
|
||||
sys.exit(0)
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user