* various: Change Person.male, Person.female, and Person.unkwown
to Person.MALE, Person.FEMALE and Person.UNKNOWN * gramps.spec.in: bring up to date, support Fedora Core and Mandrake * src/plugins/NavWebPage.py: Start of the Narrative Web Page plugin svn: r4008
This commit is contained in:
@@ -307,7 +307,7 @@ class GraphViz:
|
||||
else:
|
||||
style = 'color'
|
||||
gender = person.get_gender()
|
||||
if gender == person.male:
|
||||
if gender == person.MALE:
|
||||
self.f.write('%s=%s, ' % (style, self.colors['male']))
|
||||
elif gender == person.female:
|
||||
self.f.write('%s=%s, ' % (style, self.colors['female']))
|
||||
|
||||
Reference in New Issue
Block a user