X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fdak_exceptions.py;h=ef24fd753ef01bdcbc3e82bad63e2749e94e770d;hb=6f863f95e3d1bae18aa5579e958fd8a121b06545;hp=d18bee1e6f1691c6940268175fddcd9fa18b1e17;hpb=c48b357e4838eac6de79b0bd6ee5f8862d049dba;p=dak.git diff --git a/daklib/dak_exceptions.py b/daklib/dak_exceptions.py old mode 100755 new mode 100644 index d18bee1e..ef24fd75 --- a/daklib/dak_exceptions.py +++ b/daklib/dak_exceptions.py @@ -58,7 +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?""", - "DBUpdateError": """Exception raised - could not update the database""" + "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""", + "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):