From 843dd664e38f5b26b14fd5517413e2c4e45ef7bb Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Tue, 14 Aug 2012 11:57:30 -0400 Subject: [PATCH] cc-4105: added another bug related to event contracting --- python_apps/media-monitor2/media/monitor/events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_apps/media-monitor2/media/monitor/events.py b/python_apps/media-monitor2/media/monitor/events.py index 4824b9b11..d48d0096b 100644 --- a/python_apps/media-monitor2/media/monitor/events.py +++ b/python_apps/media-monitor2/media/monitor/events.py @@ -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)