[Zope-Checkins] CVS: Zope/lib/python/Controller - schemaclasses.py:1.1.2.6
Fred L. Drake, Jr.
fred@zope.com
Tue, 3 Dec 2002 13:34:06 -0500
Update of /cvs-repository/Zope/lib/python/Controller
In directory cvs.zope.org:/tmp/cvs-serv20418
Modified Files:
Tag: chrism-install-branch
schemaclasses.py
Log Message:
- Convert imports to Python Normal Form
- Removed server.getValue(); just called the inherited method
=== Zope/lib/python/Controller/schemaclasses.py 1.1.2.5 => 1.1.2.6 ===
--- Zope/lib/python/Controller/schemaclasses.py:1.1.2.5 Mon Dec 2 11:51:38 2002
+++ Zope/lib/python/Controller/schemaclasses.py Tue Dec 3 13:34:05 2002
@@ -1,16 +1,19 @@
+import os
+import socket
+import types
+
+import ZODB # :-( required to import user
+
+from AccessControl.User import emergency_user
from ZConfig.Schema import ConfigRoot, ConfigKey, ConfigMultiKey,\
ConfigSection, ConfigMultiSection, ConfigFreeformSection
from ZConfig.SchemaParser import importer, ConfigurationError
from zLOG.AccessLogger import AccessLogger
-import ZODB # :-( required to import user
-from AccessControl.User import emergency_user
+
if hasattr(emergency_user, '__null_user__'):
emergency_user_pw = None
else:
emergency_user_pw = emergency_user._getPassword()
-import socket
-import types
-import os
_resolver = None
@@ -520,9 +523,6 @@
self._module = config.get('module')
self._env = config.get('cgi_environment_variable')
self._logger = AccessLogger
-
- def getValue(self):
- return ConfigSection.getValue(self)
def handle(self, ports):
self.set_server_info()