X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fdak_exceptions.py;h=ef24fd753ef01bdcbc3e82bad63e2749e94e770d;hb=03a86547e5d9b209016cc0b23f825d3baea92f8c;hp=33fa5ad3cacde8d62b3475914e03f4fa65ae9df4;hpb=b481cd8cf9d18912aeb6c0af1e7ab883e347381e;p=dak.git diff --git a/daklib/dak_exceptions.py b/daklib/dak_exceptions.py old mode 100755 new mode 100644 index 33fa5ad3..ef24fd75 --- a/daklib/dak_exceptions.py +++ b/daklib/dak_exceptions.py @@ -58,8 +58,11 @@ dakerrors = { "NoFreeFilenameError": """Exception raised when no alternate filename was found.""", "TransitionsError": """Exception raised when transitions file can't be parsed.""", "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):