cc-4105: added another bug related to event contracting

This commit is contained in:
Rudi Grinberg 2012-08-14 11:57:30 -04:00
parent 542f78d2df
commit 843dd664e3
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class BaseEvent(Loggable):
self._raw_event = raw_event
self.path = os.path.normpath(raw_event.pathname)
else: self.path = raw_event
self._pack_hook = lambda _ : _ # no op
self._pack_hook = lambda: None # no op
self._morph_target = False # returns true if event was used to moprh
# into another event
def exists(self): return os.path.exists(self.path)