Bug 737245 followup: backout chunk of pymake that slipped in with this bug's patch. DONTBUILD

This commit is contained in:
Mark Hammond 2012-04-06 10:31:47 +10:00
parent c61eb2aa08
commit b2ae182f53

View File

@ -210,11 +210,7 @@ class PythonJob(Job):
if self.method not in m.__dict__:
print >>sys.stderr, "No method named '%s' in module %s" % (method, module)
return -127
try:
m.__dict__[self.method](self.argv)
except TypeError:
print >> sys.stderr, "FAILED calling %r in %r" % (self.method, m)
raise
m.__dict__[self.method](self.argv)
except PythonException, e:
print >>sys.stderr, e
return e.exitcode