1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-26 12:12:11 +01:00

don't catch IOError to produce backtrace that points at cause

This commit is contained in:
Ludwig Nussel 2010-02-25 13:36:48 +01:00
parent 29779c34db
commit 47138ecf2b
2 changed files with 2 additions and 7 deletions

View File

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

View File

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