python-modernize -f libmodernize.fixes.fix_file
This commit is contained in:
parent
68bf19c739
commit
a4a1536a03
13 changed files with 58 additions and 58 deletions
|
|
@ -51,7 +51,7 @@ def maven_import(cbtype, *args, **kws):
|
|||
shutil.rmtree(tmpdir)
|
||||
|
||||
def expand_rpm(filepath, tmpdir):
|
||||
devnull = file('/dev/null', 'r+')
|
||||
devnull = open('/dev/null', 'r+')
|
||||
rpm2cpio = subprocess.Popen(['/usr/bin/rpm2cpio', filepath],
|
||||
stdout=subprocess.PIPE,
|
||||
stdin=devnull, stderr=devnull,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue