[Checkins] SVN: z3c.configurator/trunk/src/z3c/configurator/vocabulary.py make vocabulary sorted

Bernd Dorn bernd.dorn at lovelysystems.com
Fri Feb 16 04:45:14 EST 2007


Log message for revision 72645:
  make vocabulary sorted

Changed:
  U   z3c.configurator/trunk/src/z3c/configurator/vocabulary.py

-=-
Modified: z3c.configurator/trunk/src/z3c/configurator/vocabulary.py
===================================================================
--- z3c.configurator/trunk/src/z3c/configurator/vocabulary.py	2007-02-15 23:53:56 UTC (rev 72644)
+++ z3c.configurator/trunk/src/z3c/configurator/vocabulary.py	2007-02-16 09:45:11 UTC (rev 72645)
@@ -26,4 +26,4 @@
     terms = []
     plugins = dict(component.getAdapters(
         (context,), interfaces.IConfigurationPlugin))
-    return vocabulary.SimpleVocabulary.fromValues(plugins.keys())
+    return vocabulary.SimpleVocabulary.fromValues(sorted(plugins.keys()))



More information about the Checkins mailing list