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 8420160fb4
commit 03cbf74276
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> 2003-11-10 Alex Roitman <shura@alex.neuro.umn.edu>
* src/edit_person.glade: Set meaningful ids for all tab labels. * src/edit_person.glade: Set meaningful ids for all tab labels.
* src/EditPerson.py (__init__): Find labels from XML, call * 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(' default="%s"' % person.getId())
self.g.write(">\n") self.g.write(">\n")
for key in self.db.sortPersonKeys(): keys = self.db.getPersonKeys()
keys.sort ()
for key in keys:
try: try:
person = self.db.getPerson(key) person = self.db.getPerson(key)
except: except: