rpms/gbirthday/F-12 gbirthday-ebook.patch,NONE,1.1

tomspur tomspur at fedoraproject.org
Thu Dec 17 01:40:05 UTC 2009


Author: tomspur

Update of /cvs/pkgs/rpms/gbirthday/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2675

Added Files:
	gbirthday-ebook.patch 
Log Message:
adding ebook.patch

gbirthday-ebook.patch:
 Changelog                  |    3 +++
 src/gbirthday/databases.py |    2 ++
 2 files changed, 5 insertions(+)

--- NEW FILE gbirthday-ebook.patch ---
commit 644ac8f5e838fe29ac6c0cf56f1bc53f5f7da12e
Author: Thomas Spura <tomspur at fedoraproject.org>
Date:   Wed Dec 16 13:43:02 2009 +0100

    Without evolution addressbook, continue, without crashing
    
    Signed-off-by: Thomas Spura <tomspur at fedoraproject.org>

diff --git a/Changelog b/Changelog
index 42f8b07..8c587dc 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,6 @@
+0.5.6
+	Without evolution addressbook, don't crash (fedora bug #548007)
+
 0.5.5
 	On double click, don't blink anymore.
 	Don't show 'don't blink', when not blinking atm
diff --git a/src/gbirthday/databases.py b/src/gbirthday/databases.py
index 8f62869..0a42ac4 100644
--- a/src/gbirthday/databases.py
+++ b/src/gbirthday/databases.py
@@ -236,6 +236,8 @@ class Evolution(DataBase):
 
         for title, book in evolution.ebook.list_addressbooks():
             ebook = evolution.ebook.open_addressbook(book)
+            if not ebook:
+                continue
             for contact in ebook.get_all_contacts():
                 # contact.props.birth_date{.year, .month, .day} non-existing
                 # -> using vcard




More information about the fedora-extras-commits mailing list