aboutsummaryrefslogtreecommitdiffstats
path: root/release.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-11-20 10:48:36 -0500
committerW. Trevor King <wking@drexel.edu>2009-11-20 10:48:36 -0500
commit0d0dbf9587cb65b08365094d23818da2c8823110 (patch)
tree0b68ddbfbe93f088c443ef970f4da4a8a1610391 /release.py
parent401411e519f1b4e6206e9020902536a54ca8750b (diff)
downloadbugseverywhere-0d0dbf9587cb65b08365094d23818da2c8823110.tar.gz
Broke subprocess handling out into its own submodule libbe.subproc.
Diffstat (limited to 'release.py')
-rwxr-xr-xrelease.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/release.py b/release.py
index 996e363..2e75687 100755
--- a/release.py
+++ b/release.py
@@ -20,10 +20,10 @@ import os
import os.path
import shutil
import string
-from subprocess import Popen
import sys
-from update_copyright import Pipe, update_authors, update_files
+from libbe.subproc import Pipe, invoke
+from update_copyright import update_authors, update_files
def validate_tag(tag):
"""
@@ -93,8 +93,8 @@ def make_version():
def make_changelog(filename, tag):
print 'generate ChangeLog file', filename, 'up to tag', tag
- p = Popen(['bzr', 'log', '--gnu-changelog', '-n1', '-r',
- '..tag:%s' % tag], stdout=file(filename, 'w'))
+ p = invoke(['bzr', 'log', '--gnu-changelog', '-n1', '-r',
+ '..tag:%s' % tag], stdout=file(filename, 'w'))
status = p.wait()
assert status == 0, status