[Zope3-checkins] CVS: Zope3/src/zope/app/browser/component - interfacewidget.py:1.31

Stephan Richter srichter@cosmos.phy.tufts.edu
Wed, 30 Jul 2003 13:01:42 -0400


Update of /cvs-repository/Zope3/src/zope/app/browser/component
In directory cvs.zope.org:/tmp/cvs-serv24418/src/zope/app/browser/component

Modified Files:
	interfacewidget.py 
Log Message:
A small change that truely makes the interfaces sorted inside the interface 
widget.


=== Zope3/src/zope/app/browser/component/interfacewidget.py 1.30 => 1.31 ===
--- Zope3/src/zope/app/browser/component/interfacewidget.py:1.30	Tue Jul 15 12:08:47 2003
+++ Zope3/src/zope/app/browser/component/interfacewidget.py	Wed Jul 30 13:01:36 2003
@@ -87,8 +87,8 @@
                           for i in interfaces
                           if field.constraint(i)
                          ]
-        interfaces.sort()
         interfaces = map(interfaceToName, interfaces)
+        interfaces.sort()
         # Only include None if there is no search string, and include_none
         # is True
         if include_none and not search_string: