cc-4105: added handling for pyinotify events and create more logical events

This commit is contained in:
Rudi Grinberg 2012-07-30 16:50:48 -04:00
parent 688d22e995
commit ba03447946
10 changed files with 68 additions and 9 deletions

View file

@ -32,3 +32,9 @@ class DirectoryIsNotListed(Exception):
def __init__(self,dir_id):
self.dir_id = dir_id
def __str__(self): return "%d was not listed as a directory in the database" % self.dir_id
class FailedToCreateDir(Exception):
def __init__(self,path, parent):
self.path = path
self.parent = parent
def __str__(self): return "Failed to create path '%s'" % self.path