mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-06 13:18:42 +02:00
- renamed "PackageNotInstalled" exception to "ServiceNotInstalled"
- also catch this exception in babysitter.py
This commit is contained in:
@@ -101,13 +101,12 @@ class OscIOError(OscBaseError):
|
||||
self.e = e
|
||||
self.msg = msg
|
||||
|
||||
class PackageNotInstalled(OscBaseError):
|
||||
class ServiceNotInstalled(OscBaseError):
|
||||
"""
|
||||
Exception raised when a package is not installed on local system
|
||||
Exception raised when a service is not installed on local system
|
||||
"""
|
||||
def __init__(self, e, msg):
|
||||
def __init__(self, msg):
|
||||
OscBaseError.__init__(self)
|
||||
self.e = e
|
||||
self.msg = msg
|
||||
|
||||
class SignalInterrupt(Exception):
|
||||
|
Reference in New Issue
Block a user