conduit r1595 - in trunk: . conduit/modules/GoogleModule



Author: jstowers
Date: Tue Jul 29 13:25:02 2008
New Revision: 1595
URL: http://svn.gnome.org/viewvc/conduit?rev=1595&view=rev

Log:
	* conduit/modules/GoogleModule/GoogleModule.py: Check gmail contact
	has email before adding. Fixes #545129 (Roumano)


Modified:
   trunk/   (props changed)
   trunk/ChangeLog
   trunk/conduit/modules/GoogleModule/GoogleModule.py

Modified: trunk/conduit/modules/GoogleModule/GoogleModule.py
==============================================================================
--- trunk/conduit/modules/GoogleModule/GoogleModule.py	(original)
+++ trunk/conduit/modules/GoogleModule/GoogleModule.py	Tue Jul 29 13:25:02 2008
@@ -810,7 +810,7 @@
         name = contact.get_name()
         emails = contact.get_emails()
         #Google contacts must feature at least a name and an email address
-        if not (name and emails):
+        if not (name or emails):
             return None
 
         #can also edit existing contacts



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