mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
Bug 1295323 - s/CalledProcessError/subprocess.CalledProcessError/ r=dminor
MozReview-Commit-ID: IxtsQCQbAE2 --HG-- extra : rebase_source : ce51dc92b539948b54ac1c9c3e83c4a664917efd
This commit is contained in:
parent
a227fd871c
commit
7f9305180e
@ -76,7 +76,7 @@ class RemoteCPPUnitTests(cppunittests.CPPUnitTests):
|
||||
if szip:
|
||||
try:
|
||||
out = subprocess.check_output([szip, '-d', local_file], stderr=subprocess.STDOUT)
|
||||
except CalledProcessError:
|
||||
except subprocess.CalledProcessError:
|
||||
print >> sys.stderr, "Error calling %s on %s.." % (szip, local_file)
|
||||
if out:
|
||||
print >> sys.stderr, out
|
||||
@ -91,7 +91,7 @@ class RemoteCPPUnitTests(cppunittests.CPPUnitTests):
|
||||
if szip:
|
||||
try:
|
||||
out = subprocess.check_output([szip, '-d', local_file], stderr=subprocess.STDOUT)
|
||||
except CalledProcessError:
|
||||
except subprocess.CalledProcessError:
|
||||
print >> sys.stderr, "Error calling %s on %s.." % (szip, local_file)
|
||||
if out:
|
||||
print >> sys.stderr, out
|
||||
@ -109,7 +109,7 @@ class RemoteCPPUnitTests(cppunittests.CPPUnitTests):
|
||||
if szip:
|
||||
try:
|
||||
out = subprocess.check_output([szip, '-d', local_file], stderr=subprocess.STDOUT)
|
||||
except CalledProcessError:
|
||||
except subprocess.CalledProcessError:
|
||||
print >> sys.stderr, "Error calling %s on %s.." % (szip, local_file)
|
||||
if out:
|
||||
print >> sys.stderr, out
|
||||
|
@ -456,7 +456,7 @@ class XPCShellRemote(xpcshell.XPCShellTests, object):
|
||||
if szip:
|
||||
try:
|
||||
out = subprocess.check_output([szip, '-d', localFile], stderr=subprocess.STDOUT)
|
||||
except CalledProcessError:
|
||||
except subprocess.CalledProcessError:
|
||||
print >> sys.stderr, "Error calling %s on %s.." % (szip, localFile)
|
||||
if out:
|
||||
print >> sys.stderr, out
|
||||
@ -476,7 +476,7 @@ class XPCShellRemote(xpcshell.XPCShellTests, object):
|
||||
if szip:
|
||||
try:
|
||||
out = subprocess.check_output([szip, '-d', localFile], stderr=subprocess.STDOUT)
|
||||
except CalledProcessError:
|
||||
except subprocess.CalledProcessError:
|
||||
print >> sys.stderr, "Error calling %s on %s.." % (szip, localFile)
|
||||
if out:
|
||||
print >> sys.stderr, out
|
||||
@ -495,7 +495,7 @@ class XPCShellRemote(xpcshell.XPCShellTests, object):
|
||||
if szip:
|
||||
try:
|
||||
out = subprocess.check_output([szip, '-d', localFile], stderr=subprocess.STDOUT)
|
||||
except CalledProcessError:
|
||||
except subprocess.CalledProcessError:
|
||||
print >> sys.stderr, "Error calling %s on %s.." % (szip, localFile)
|
||||
if out:
|
||||
print >> sys.stderr, out
|
||||
|
Loading…
Reference in New Issue
Block a user