Bumping to -5 to try and fix an issue with a missing phoneType
authorepage <eopage@byu.net>
Thu, 7 Jan 2010 03:38:52 +0000 (03:38 +0000)
committerepage <eopage@byu.net>
Thu, 7 Jan 2010 03:38:52 +0000 (03:38 +0000)
git-svn-id: file:///svnroot/gc-dialer/trunk@611 c39d3808-3fe2-4d86-a59f-b7f623ee9f21

src/backends/gv_backend.py
src/constants.py

index 9cbba74..df9e3a6 100644 (file)
@@ -169,7 +169,7 @@ class GVDialer(object):
                        self._update_contacts_cache()
                contactDetails = self._contacts[contactId]
                return (
-                       (number["phoneType"], number["phoneNumber"])
+                       (number.get("phoneType", ""), number["phoneNumber"])
                        for number in contactDetails["numbers"]
                )
 
index 6116584..a70c218 100644 (file)
@@ -3,7 +3,7 @@ import os
 __pretty_app_name__ = "DialCentral"
 __app_name__ = "dialcentral"
 __version__ = "1.0.10"
-__build__ = 4
+__build__ = 5
 __app_magic__ = 0xdeadbeef
 _data_path_ = os.path.join(os.path.expanduser("~"), ".dialcentral")
 _user_settings_ = "%s/settings.ini" % _data_path_