2008-01-09 Raphael Ackermann <raphael.ackermann@gmail.com> * src/plugins/ExportVCard.py: in write_person use b_date instead of date
svn: r9766
This commit is contained in:
parent
204accb85b
commit
c6a8810305
@ -1,3 +1,7 @@
|
||||
2008-01-09 Raphael Ackermann <raphael.ackermann@gmail.com>
|
||||
* src/plugins/ExportVCard.py: in write_person use b_date instead of date
|
||||
0001497: small typo and imports cleanup in ExportVCard.py
|
||||
|
||||
2008-01-09 Raphael Ackermann <raphael.ackermann@gmail.com>
|
||||
* src/GrampsDbUtils/_GrampsBSDDB.py: wrong const import
|
||||
|
||||
|
@ -43,7 +43,6 @@ log = logging.getLogger(".ExportVCard")
|
||||
# GNOME/GTK modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import gtk
|
||||
import gtk.glade
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
@ -52,7 +51,6 @@ import gtk.glade
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from Filters import GenericFilter, Rules, build_filter_menu
|
||||
import const
|
||||
from gen.lib import Date
|
||||
import Errors
|
||||
from QuestionDialog import ErrorDialog
|
||||
@ -213,7 +211,7 @@ class CardWriter:
|
||||
if birth:
|
||||
b_date = birth.get_date_object()
|
||||
mod = b_date.get_modifier()
|
||||
if (date.get_modifier() != Date.MOD_TEXTONLY and
|
||||
if (mod != Date.MOD_TEXTONLY and
|
||||
not b_date.is_empty() and
|
||||
not mod == Date.MOD_SPAN and
|
||||
not mod == Date.MOD_RANGE):
|
||||
|
Loading…
Reference in New Issue
Block a user