2003-11-12 Tim Waugh <twaugh@redhat.com>

* src/WriteXML.py: Fix ID sorting so that RCS versioning is useful
        again (broken in last WriteXML change).


svn: r2326
This commit is contained in:
Tim Waugh 2003-11-12 13:00:58 +00:00
parent c3c8e207de
commit b4e7f53943
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-11-12 Tim Waugh <twaugh@redhat.com>
* src/WriteXML.py: Fix ID sorting so that RCS versioning is useful
again (broken in last WriteXML change).
2003-11-10 Alex Roitman <shura@alex.neuro.umn.edu>
* src/edit_person.glade: Set meaningful ids for all tab labels.
* src/EditPerson.py (__init__): Find labels from XML, call

View File

@ -203,7 +203,9 @@ class XmlWriter:
self.g.write(' default="%s"' % person.getId())
self.g.write(">\n")
for key in self.db.sortPersonKeys():
keys = self.db.getPersonKeys()
keys.sort ()
for key in keys:
try:
person = self.db.getPerson(key)
except: