conduit r1595 - in trunk: . conduit/modules/GoogleModule
- From: jstowers svn gnome org
- To: svn-commits-list gnome org
- Subject: conduit r1595 - in trunk: . conduit/modules/GoogleModule
- Date: Tue, 29 Jul 2008 13:25:02 +0000 (UTC)
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]