~facundo/ubuntuone-client/fix-svfilenew-conflict

« back to all changes in this revision

Viewing changes to ubuntuone/syncdaemon/event_queue.py

  • Committer: Facundo Batista
  • Date: 2011-04-04 12:31:43 UTC
  • mfrom: (922.1.9 ubuntuone-client)
  • Revision ID: facundo@taniquetil.com.ar-20110404123143-mobua5abcpinz0o2
TrunkĀ mergedĀ in

Show diffs side-by-side

added added

removed removed

Lines of Context:
178
178
        self.dispatch_queue = collections.deque()
179
179
        self._have_empty_eq_cback = False
180
180
        self.empty_event_queue_callbacks = set()
 
181
        self.ignored_base_exception = Exception
181
182
 
182
183
    def add_to_mute_filter(self, event, **info):
183
184
        """Add info to mute filter in the processor."""
283
284
        for listener, method in listeners.items():
284
285
            try:
285
286
                method(**kwargs)
286
 
            except Exception:
 
287
            except self.ignored_base_exception:
287
288
                self.log.exception("Error encountered while handling: %s "
288
289
                                   "in %s", event_name, listener)
289
290