1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Actually use check_call when we can.

This commit is contained in:
Carl Meyer 2011-03-19 02:07:53 -04:00
parent ea6eb45c57
commit 83dac0ea6b

View file

@ -13,7 +13,7 @@ else:
def _create_initools_repository():
subprocess.call('svnadmin create INITools'.split(), cwd=_get_vcs_folder())
subprocess_call('svnadmin create INITools'.split(), cwd=_get_vcs_folder())
def _dump_initools_repository():
@ -21,7 +21,7 @@ def _dump_initools_repository():
initools_folder = os.path.join(_get_vcs_folder(), 'INITools')
devnull = open(os.devnull, 'w')
dump = open(filename)
subprocess.call(['svnadmin', 'load', initools_folder], stdin=dump, stdout=devnull)
subprocess_call(['svnadmin', 'load', initools_folder], stdin=dump, stdout=devnull)
dump.close()
devnull.close()
os.remove(filename)