mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 14:52:26 +00:00
1fc6be28f4
This is for ticket #1068.
15 lines
233 B
Python
15 lines
233 B
Python
#!/usr/bin/env python
|
|
|
|
import sys
|
|
from subprocess import Popen, PIPE
|
|
|
|
cmd = ["darcs", "whatsnew", "-l"]
|
|
p = Popen(cmd, stdout=PIPE)
|
|
output = p.communicate()[0]
|
|
print output
|
|
if output == "No changes!\n":
|
|
sys.exit(0)
|
|
sys.exit(1)
|
|
|
|
|