mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-26 04:02:11 +01:00
don't catch IOError to produce backtrace that points at cause
This commit is contained in:
parent
29779c34db
commit
47138ecf2b
@ -134,10 +134,6 @@ def run(prg):
|
||||
print >>sys.stderr, e.msg
|
||||
return 1
|
||||
|
||||
except IOError, e:
|
||||
print >>sys.stderr, e
|
||||
return 1
|
||||
|
||||
except AttributeError, e:
|
||||
print >>sys.stderr, e
|
||||
return 1
|
||||
|
@ -335,10 +335,9 @@ def verify_pacs(pac_list, key_list):
|
||||
except Exception, e:
|
||||
failed = True
|
||||
print pkg, ':', e
|
||||
except Exception, e:
|
||||
print str(e)
|
||||
except:
|
||||
checker.cleanup()
|
||||
sys.exit(1)
|
||||
raise
|
||||
|
||||
if failed:
|
||||
checker.cleanup()
|
||||
|
Loading…
x
Reference in New Issue
Block a user