[Zope-Checkins] SVN: Zope/branches/2.12/src/OFS/misc_.py PEP8.

Tres Seaver tseaver at palladion.com
Mon Sep 26 15:44:03 EST 2011


Log message for revision 122955:
  PEP8.

Changed:
  U   Zope/branches/2.12/src/OFS/misc_.py

-=-
Modified: Zope/branches/2.12/src/OFS/misc_.py
===================================================================
--- Zope/branches/2.12/src/OFS/misc_.py	2011-09-26 19:54:53 UTC (rev 122954)
+++ Zope/branches/2.12/src/OFS/misc_.py	2011-09-26 20:44:02 UTC (rev 122955)
@@ -13,9 +13,15 @@
 
 from os.path import dirname
 
+import AccessControl
 from AccessControl.SecurityInfo import ClassSecurityInfo
+import App
 from App.class_init import InitializeClass
 from App.ImageFile import ImageFile
+import HelpSys
+import OFS
+import TreeDisplay
+import webdav
 
 
 class misc_:
@@ -34,21 +40,17 @@
     here = dirname(__file__)
     broken = ImageFile('www/broken.gif', here)
 
-    import AccessControl
     User_icon = ImageFile('www/User_icon.gif', dirname(AccessControl.__file__))
 
     locked = ImageFile('www/modified.gif', here)
     lockedo = ImageFile('www/locked.gif', here)
 
-    import webdav
     davlocked = ImageFile('www/davlock.gif', dirname(webdav.__file__))
 
-    import TreeDisplay
     treedisplay_dir = dirname(TreeDisplay.__file__)
     pl = ImageFile('www/Plus_icon.gif', treedisplay_dir)
     mi = ImageFile('www/Minus_icon.gif', treedisplay_dir)
 
-    import App
     app_dir = dirname(App.__file__)
     rtab = ImageFile('www/rtab.gif', app_dir)
     ltab = ImageFile('www/ltab.gif', app_dir)
@@ -56,7 +58,6 @@
     r_arrow_gif = ImageFile('www/r_arrow.gif', here)
     l_arrow_gif = ImageFile('www/l_arrow.gif', here)
 
-    import OFS
     ofs_dir = dirname(OFS.__file__)
     ControlPanel_icon = ImageFile('www/ControlPanel_icon.gif', ofs_dir)
     ApplicationManagement_icon = ImageFile('www/cpSystem.gif', app_dir)
@@ -76,7 +77,6 @@
     Properties_icon = ImageFile('www/Properties_icon.gif', ofs_dir)
     Propertysheets_icon = ImageFile('www/Properties_icon.gif', ofs_dir)
 
-    import HelpSys
     helpsys_dir = dirname(HelpSys.__file__)
     ProductHelp_icon=ImageFile('images/productHelp.gif', helpsys_dir)
     HelpTopic_icon=ImageFile('images/helpTopic.gif', helpsys_dir)



More information about the Zope-Checkins mailing list