1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 09:16:16 +02:00

- catch PackageError()

This commit is contained in:
Marcus Huewe 2010-05-13 18:21:30 +02:00
parent 2f4de7c63b
commit 1975e3cf85

View File

@ -10,6 +10,7 @@ from osc import oscerr
from urllib2 import URLError, HTTPError
from oscsslexcp import NoSecureSSLError
from osc.util.cpio import CpioError
from osc.util.packagequery import PackageError
try:
from M2Crypto.SSL.Checker import SSLVerificationError
@ -172,4 +173,8 @@ def run(prg):
print >>sys.stderr, e
return 1
except PackageError, e:
print >>sys.stderr, e.msg
return 1
# vim: sw=4 et