[Zope3-checkins] SVN: Zope3/branches/ajung-target-requestpublication-next-try-branch/src/zope/app/publication/httpfactory.py moved import out of method definition

Andreas Jung andreas at andreas-jung.com
Sat Oct 8 10:48:44 EDT 2005


Log message for revision 38956:
  moved import out of method definition
  

Changed:
  U   Zope3/branches/ajung-target-requestpublication-next-try-branch/src/zope/app/publication/httpfactory.py

-=-
Modified: Zope3/branches/ajung-target-requestpublication-next-try-branch/src/zope/app/publication/httpfactory.py
===================================================================
--- Zope3/branches/ajung-target-requestpublication-next-try-branch/src/zope/app/publication/httpfactory.py	2005-10-08 14:48:08 UTC (rev 38955)
+++ Zope3/branches/ajung-target-requestpublication-next-try-branch/src/zope/app/publication/httpfactory.py	2005-10-08 14:48:44 UTC (rev 38956)
@@ -23,10 +23,10 @@
 
 from zope.app.publication import interfaces
 from zope.app.publication.browser import setDefaultSkin
+from zope.app.publication.metaconfigure import getFactoryRegistry
 
 
 def chooseClasses(method, environment):
-    from zope.app.publication.metaconfigure import getFactoryRegistry
 
     content_type = environment.get('CONTENT_TYPE', '')
     factory = getFactoryRegistry().lookup(method, content_type, environment)



More information about the Zope3-Checkins mailing list