hamster-applet r637 - trunk/hamster



Author: tbaugis
Date: Fri Nov 21 18:45:11 2008
New Revision: 637
URL: http://svn.gnome.org/viewvc/hamster-applet?rev=637&view=rev

Log:
strip description only if we have one

Modified:
   trunk/hamster/db.py

Modified: trunk/hamster/db.py
==============================================================================
--- trunk/hamster/db.py	(original)
+++ trunk/hamster/db.py	Fri Nov 21 18:45:11 2008
@@ -214,8 +214,7 @@
         description = None
         if activity_name.find(",") > 0:
             activity_name, description = activity_name.split(",", 1)
-        
-        description = description.strip()
+            description = description.strip()
         
         # now check if maybe there is also a category
         category_id = None



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