Seif Lotfy has proposed merging lp:~seif/zeitgeist/fix-693094 into lp:zeitgeist.

Requested reviews:
  Zeitgeist Framework Team (zeitgeist)
Related bugs:
  #693094 Zeitgeist engine tells that an event has been inserted even though it 
has been blocked by an extension

For more details, see:

Changed the log output to print how many events we requested to be inserted and 
how many were actually inserted.
Your team Zeitgeist Framework Team is requested to review the proposed merge of 
lp:~seif/zeitgeist/fix-693094 into lp:zeitgeist.
=== modified file '_zeitgeist/engine/'
--- _zeitgeist/engine/	2010-11-29 09:09:13 +0000
+++ _zeitgeist/engine/	2010-12-23 15:07:14 +0000
@@ -474,9 +474,10 @@
 	def insert_events(self, events, sender=None):
 		t = time.time()
+		log.debug("Requested to insert %d events" % len(events))
 		m = map(lambda e: self._insert_event_without_error(e, sender), events)
-		log.debug("Inserted %d events in %fs" % (len(m), time.time()-t))
+		log.debug("Inserted %d events in %fs" % (len([e for e in m if e>0]), time.time()-t))
 		return m
 	def _insert_event_without_error(self, event, sender=None):

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to