deskbar-applet r2143 - in branches/gnome-2-22: . deskbar/handlers



Author: sebp
Date: Tue Apr 29 09:13:43 2008
New Revision: 2143
URL: http://svn.gnome.org/viewvc/deskbar-applet?rev=2143&view=rev

Log:
Fixed bug #527023: KeyError in beagle-live,	when only directories are returned by beagle

Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/deskbar/handlers/beagle-live.py

Modified: branches/gnome-2-22/deskbar/handlers/beagle-live.py
==============================================================================
--- branches/gnome-2-22/deskbar/handlers/beagle-live.py	(original)
+++ branches/gnome-2-22/deskbar/handlers/beagle-live.py	Tue Apr 29 09:13:43 2008
@@ -401,7 +401,7 @@
         if not hit_type in self.counter[qstring]:
             self.counter[qstring][hit_type] = 0
         
-        self.counter[qstring][hit.get_type()] += 1
+        self.counter[qstring][hit_type] += 1
             
         result = {
             "uri":  hit.get_uri(),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]