]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blob - misc/build_helpers/test-darcs-boringfile.py
setup: organize misc/ scripts and tools and remove obsolete ones
[tahoe-lafs/tahoe-lafs.git] / misc / build_helpers / test-darcs-boringfile.py
1 #!/usr/bin/env python
2
3 import sys
4 from subprocess import Popen, PIPE
5
6 cmd = ["darcs", "whatsnew", "-l"]
7 p = Popen(cmd, stdout=PIPE)
8 output = p.communicate()[0]
9 print output
10 if output == "No changes!\n":
11     sys.exit(0)
12 sys.exit(1)
13
14