diff options
Diffstat (limited to 'src/software/openlmi/software/yumdb/errors.py')
-rw-r--r-- | src/software/openlmi/software/yumdb/errors.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/software/openlmi/software/yumdb/errors.py b/src/software/openlmi/software/yumdb/errors.py index a6824b9..34230e5 100644 --- a/src/software/openlmi/software/yumdb/errors.py +++ b/src/software/openlmi/software/yumdb/errors.py @@ -59,6 +59,12 @@ class PackageNotInstalled(PackageError): """Raised, when requested package is not installed for desired action.""" def __init__(self, pkg): PackageError.__init__(self, 'Package "%s" is not installed.' % pkg) +class FileNotFound(PackageError): + """ + Raised, when requesting check on file that does not belong to + particular package. + """ + pass class RepositoryError(YumDBError): pass |