redoing last commit

This commit is contained in:
denise 2012-09-18 17:23:26 -04:00
parent 1d699fe0b8
commit 2a15269d33
3 changed files with 21 additions and 10 deletions

View file

@ -48,3 +48,13 @@ class NoDirectoryInAirtime(Exception):
def __str__(self):
return "Directory '%s' does not exist in Airtime.\n \
However: %s do exist." % (self.path, self.does_exist)
class InvalidMetadataElement(Exception):
def __init__(self, parent, key, path):
self.parent = parent
self.key = key
self.path = path
def __str__(self):
return "InvalidMetadataElement: (key,path) = (%s,%s)" \
% (self.key, self.path)