]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blob - misc/build_helpers/test-git-ignore.py
Fix an error handling path that would never have been reached. fixes ticket:2543
[tahoe-lafs/tahoe-lafs.git] / misc / build_helpers / test-git-ignore.py
1 #!/usr/bin/env python
2
3 import sys
4 from subprocess import Popen, PIPE
5
6 cmd = ["git", "status", "--porcelain"]
7 p = Popen(cmd, stdout=PIPE)
8 output = p.communicate()[0]
9 print output
10 if output == "":
11     sys.exit(0)
12 sys.exit(1)
13
14