Commit 83104f84 authored by Rafael Monnerat's avatar Rafael Monnerat

Remove useless imports, whitespaces and few more pep8 improvements.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44587 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 77e7a71d
...@@ -32,8 +32,9 @@ ...@@ -32,8 +32,9 @@
# Update ERP5 Globals # Update ERP5 Globals
from Products.ERP5Type.Utils import initializeProduct, updateGlobals from Products.ERP5Type.Utils import initializeProduct, updateGlobals
import sys, Permissions import sys
this_module = sys.modules[ __name__ ] import Permissions
this_module = sys.modules[__name__]
document_classes = updateGlobals(this_module, globals(), document_classes = updateGlobals(this_module, globals(),
permissions_module=Permissions) permissions_module=Permissions)
...@@ -46,7 +47,6 @@ content_constructors = () ...@@ -46,7 +47,6 @@ content_constructors = ()
# Finish installation # Finish installation
def initialize(context): def initialize(context):
import Document import Document
from zLOG import LOG, INFO
initializeProduct(context, this_module, globals(), initializeProduct(context, this_module, globals(),
document_module=Document, document_module=Document,
document_classes=document_classes, document_classes=document_classes,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment