[entropy.exceptions] introduce RepositoryLocked exception, raised (and never caught) if EntropyRepository repository data structures are exclusively locked

This commit is contained in:
Fabio Erculiani
2011-03-05 12:15:16 +01:00
parent cbbd8392ec
commit c3d5bbef4d
+3
View File
@@ -66,6 +66,9 @@ class DependenciesNotRemovable(EntropyException):
class RepositoryError(EntropyException):
"""Cannot open repository database"""
class RepositoryLocked(RepositoryError):
""" Repository is locked by an exclusive lock """
class RepositoryPluginError(EntropyException):
"""Error during EntropyRepositoryPlugin hook execution"""