diff options
author | W. Trevor King <wking@drexel.edu> | 2009-11-20 10:48:36 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-11-20 10:48:36 -0500 |
commit | 0d0dbf9587cb65b08365094d23818da2c8823110 (patch) | |
tree | 0b68ddbfbe93f088c443ef970f4da4a8a1610391 /release.py | |
parent | 401411e519f1b4e6206e9020902536a54ca8750b (diff) | |
download | bugseverywhere-0d0dbf9587cb65b08365094d23818da2c8823110.tar.gz |
Broke subprocess handling out into its own submodule libbe.subproc.
Diffstat (limited to 'release.py')
-rwxr-xr-x | release.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |