Mercurial > p > roundup > code
diff roundup/xmlrpc.py @ 5504:7f3dfdd6a620
make sure everything is sorted in the xmlrpc schema
| author | Christof Meerwald <cmeerw@cmeerw.org> |
|---|---|
| date | Thu, 16 Aug 2018 20:34:42 +0100 |
| parents | 56c9bcdea47f |
| children | ed02a1e0aa5d |
line wrap: on
line diff
--- a/roundup/xmlrpc.py Thu Aug 16 20:14:09 2018 +0100 +++ b/roundup/xmlrpc.py Thu Aug 16 20:34:42 2018 +0100 @@ -73,7 +73,7 @@ s = {} for c in self.db.classes: cls = self.db.classes[c] - props = [(n,repr(v)) for n,v in cls.properties.items()] + props = [(n,repr(v)) for n,v in sorted(cls.properties.items())] s[c] = props return s
