X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fdak_exceptions.py;h=ef24fd753ef01bdcbc3e82bad63e2749e94e770d;hb=fdbef587c29814f97c192de5a8b7e9f09cc45fa4;hp=ccd63e5055e28df08af620008e08e1457acddf2d;hpb=6a4cddfbe864e563e671fe5dabf5600c4783af5c;p=dak.git diff --git a/daklib/dak_exceptions.py b/daklib/dak_exceptions.py old mode 100755 new mode 100644 index ccd63e50..ef24fd75 --- a/daklib/dak_exceptions.py +++ b/daklib/dak_exceptions.py @@ -60,7 +60,9 @@ dakerrors = { "NoSourceFieldError": """Exception raised - we cant find the source - wtf?""", "MissingContents": """Exception raised - we could not determine contents for this deb""", "DBUpdateError": """Exception raised - could not update the database""", - "ChangesUnicodeError": """Exception raised - changes file not properly utf-8 encoded""" + "ChangesUnicodeError": """Exception raised - changes file not properly utf-8 encoded""", + "AlreadyLockedError": """Exception raised - package already locked by someone else""", + "CantGetLockError": """Exception raised - lockfile already in use""" } #: All dak exceptions def construct_dak_exception(name, description):