Bug 1295323 - s/CalledProcessError/subprocess.CalledProcessError/ r=dminor

MozReview-Commit-ID: IxtsQCQbAE2

--HG--
extra : rebase_source : ce51dc92b539948b54ac1c9c3e83c4a664917efd
This commit is contained in:
Rob Wu 2016-08-01 19:01:12 -07:00
parent a227fd871c
commit 7f9305180e
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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