Mercurial > hg > MPIWGWeb
diff MPIWGRoot.py @ 75:df56982ecb03
styles for hierarchical project list. some cleanup.
author | casties |
---|---|
date | Mon, 06 May 2013 20:04:00 +0200 |
parents | 5cb46852ac05 |
children | faaded775a8a |
line wrap: on
line diff
--- a/MPIWGRoot.py Mon May 06 16:56:19 2013 +0200 +++ b/MPIWGRoot.py Mon May 06 20:04:00 2013 +0200 @@ -160,7 +160,7 @@ if dir is None: return [] - items = dir.objectValues(spec='MPIWGFeature')[:] + items = dir.objectValues(spec='MPIWGFeature') items.sort(key=lambda x:int(x.weight)) if num is not None: # take only the last num elements @@ -174,7 +174,7 @@ if dir is None: return [] - items = dir.objectValues(spec='MPIWGDepartment')[:] + items = dir.objectValues(spec='MPIWGDepartment') items.sort(key=lambda x:int(x.weight)) return items