1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-06 13:18:42 +02:00

use more generic oscerr.PackageNotInstalled

This commit is contained in:
Ludwig Nussel
2011-03-29 17:15:35 +02:00
parent b0ddeb909d
commit b33577b6a7
3 changed files with 13 additions and 9 deletions

View File

@@ -158,7 +158,7 @@ def run(prg):
print >>sys.stderr, e.msg
return 1
except oscerr.ServiceNotInstalled, e:
except oscerr.PackageNotInstalled, e:
print >>sys.stderr, e.msg
return 1
@@ -207,4 +207,8 @@ def run(prg):
print >>sys.stderr, e
return 1
except oscerr.OscBaseError, e:
print >>sys.stderr, '*** Error:', e
return 1
# vim: sw=4 et