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:
parent
ea6eb45c57
commit
83dac0ea6b
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue