Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
a172bbeb
Commit
a172bbeb
authored
Jul 31, 2010
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lots of CVS fossils removed
parent
055c785b
Changes
212
Hide whitespace changes
Inline
Side-by-side
Showing
212 changed files
with
76 additions
and
467 deletions
+76
-467
src/App/ApplicationManager.py
src/App/ApplicationManager.py
+1
-3
src/App/CacheManager.py
src/App/CacheManager.py
+1
-3
src/App/Common.py
src/App/Common.py
+0
-3
src/App/DavLockManager.py
src/App/DavLockManager.py
+0
-2
src/App/Dialogs.py
src/App/Dialogs.py
+0
-2
src/App/FindHomes.py
src/App/FindHomes.py
+0
-3
src/App/ImageFile.py
src/App/ImageFile.py
+0
-2
src/App/Management.py
src/App/Management.py
+0
-2
src/App/PersistentExtra.py
src/App/PersistentExtra.py
+1
-2
src/App/ProductContext.py
src/App/ProductContext.py
+0
-2
src/App/RefreshFuncs.py
src/App/RefreshFuncs.py
+0
-1
src/App/Undo.py
src/App/Undo.py
+0
-2
src/App/interfaces.py
src/App/interfaces.py
+1
-3
src/App/tar.py
src/App/tar.py
+2
-4
src/App/tests/test_cachemanager.py
src/App/tests/test_cachemanager.py
+2
-2
src/Globals/__init__.py
src/Globals/__init__.py
+0
-1
src/HelpSys/APIHelpTopic.py
src/HelpSys/APIHelpTopic.py
+0
-2
src/HelpSys/HelpUtil.py
src/HelpSys/HelpUtil.py
+1
-5
src/HelpSys/ObjectRef.py
src/HelpSys/ObjectRef.py
+0
-2
src/OFS/Application.py
src/OFS/Application.py
+0
-2
src/OFS/Cache.py
src/OFS/Cache.py
+1
-2
src/OFS/CopySupport.py
src/OFS/CopySupport.py
+0
-2
src/OFS/DefaultObservable.py
src/OFS/DefaultObservable.py
+1
-2
src/OFS/Document.py
src/OFS/Document.py
+1
-2
src/OFS/FTPInterface.py
src/OFS/FTPInterface.py
+0
-2
src/OFS/FindSupport.py
src/OFS/FindSupport.py
+0
-2
src/OFS/Folder.py
src/OFS/Folder.py
+0
-2
src/OFS/History.py
src/OFS/History.py
+1
-2
src/OFS/Image.py
src/OFS/Image.py
+1
-2
src/OFS/Moniker.py
src/OFS/Moniker.py
+0
-2
src/OFS/ObjectManager.py
src/OFS/ObjectManager.py
+0
-2
src/OFS/OrderSupport.py
src/OFS/OrderSupport.py
+0
-2
src/OFS/OrderedFolder.py
src/OFS/OrderedFolder.py
+0
-2
src/OFS/PropertyManager.py
src/OFS/PropertyManager.py
+0
-2
src/OFS/PropertySheets.py
src/OFS/PropertySheets.py
+1
-2
src/OFS/SimpleItem.py
src/OFS/SimpleItem.py
+0
-2
src/OFS/Traversable.py
src/OFS/Traversable.py
+0
-2
src/OFS/event.py
src/OFS/event.py
+0
-2
src/OFS/interfaces.py
src/OFS/interfaces.py
+1
-2
src/OFS/ndiff.py
src/OFS/ndiff.py
+0
-2
src/OFS/rPickle.py
src/OFS/rPickle.py
+1
-2
src/OFS/tests/testProperties.py
src/OFS/tests/testProperties.py
+0
-2
src/OFS/tests/testTraverse.py
src/OFS/tests/testTraverse.py
+0
-2
src/OFS/tests/test_event.py
src/OFS/tests/test_event.py
+0
-2
src/OFS/tests/test_registerclass.py
src/OFS/tests/test_registerclass.py
+0
-2
src/Products/Five/__init__.py
src/Products/Five/__init__.py
+0
-2
src/Products/Five/bbb.py
src/Products/Five/bbb.py
+0
-2
src/Products/Five/browser/__init__.py
src/Products/Five/browser/__init__.py
+1
-2
src/Products/Five/browser/adding.py
src/Products/Five/browser/adding.py
+0
-2
src/Products/Five/browser/decode.py
src/Products/Five/browser/decode.py
+0
-2
src/Products/Five/browser/menu.py
src/Products/Five/browser/menu.py
+1
-2
src/Products/Five/browser/pagetemplatefile.py
src/Products/Five/browser/pagetemplatefile.py
+1
-2
src/Products/Five/browser/resource.py
src/Products/Five/browser/resource.py
+1
-2
src/Products/Five/browser/tests/classes.py
src/Products/Five/browser/tests/classes.py
+1
-2
src/Products/Five/browser/tests/i18n.py
src/Products/Five/browser/tests/i18n.py
+1
-2
src/Products/Five/browser/tests/pages.py
src/Products/Five/browser/tests/pages.py
+1
-2
src/Products/Five/browser/tests/skin.py
src/Products/Five/browser/tests/skin.py
+1
-2
src/Products/Five/browser/tests/test_absoluteurl.py
src/Products/Five/browser/tests/test_absoluteurl.py
+0
-2
src/Products/Five/browser/tests/test_adding.py
src/Products/Five/browser/tests/test_adding.py
+0
-2
src/Products/Five/browser/tests/test_decode.py
src/Products/Five/browser/tests/test_decode.py
+0
-2
src/Products/Five/browser/tests/test_defaultview.py
src/Products/Five/browser/tests/test_defaultview.py
+0
-2
src/Products/Five/browser/tests/test_i18n.py
src/Products/Five/browser/tests/test_i18n.py
+0
-2
src/Products/Five/browser/tests/test_menu.py
src/Products/Five/browser/tests/test_menu.py
+0
-2
src/Products/Five/browser/tests/test_provider.py
src/Products/Five/browser/tests/test_provider.py
+0
-2
src/Products/Five/browser/tests/test_recurse.py
src/Products/Five/browser/tests/test_recurse.py
+0
-2
src/Products/Five/browser/tests/test_skin.py
src/Products/Five/browser/tests/test_skin.py
+0
-2
src/Products/Five/browser/tests/test_traversable.py
src/Products/Five/browser/tests/test_traversable.py
+0
-2
src/Products/Five/component/__init__.py
src/Products/Five/component/__init__.py
+1
-2
src/Products/Five/component/browser.py
src/Products/Five/component/browser.py
+1
-2
src/Products/Five/component/interfaces.py
src/Products/Five/component/interfaces.py
+1
-2
src/Products/Five/component/tests.py
src/Products/Five/component/tests.py
+1
-2
src/Products/Five/eventconfigure.py
src/Products/Five/eventconfigure.py
+0
-3
src/Products/Five/fiveconfigure.py
src/Products/Five/fiveconfigure.py
+1
-2
src/Products/Five/fivedirectives.py
src/Products/Five/fivedirectives.py
+1
-2
src/Products/Five/interfaces.py
src/Products/Five/interfaces.py
+0
-2
src/Products/Five/security.py
src/Products/Five/security.py
+1
-2
src/Products/Five/sizeconfigure.py
src/Products/Five/sizeconfigure.py
+1
-2
src/Products/Five/skin/standardmacros.py
src/Products/Five/skin/standardmacros.py
+1
-2
src/Products/Five/skin/tests/demomacros.py
src/Products/Five/skin/tests/demomacros.py
+1
-2
src/Products/Five/skin/tests/test_standardmacros.py
src/Products/Five/skin/tests/test_standardmacros.py
+0
-2
src/Products/Five/tests/adapters.py
src/Products/Five/tests/adapters.py
+1
-2
src/Products/Five/tests/boilerplate.py
src/Products/Five/tests/boilerplate.py
+0
-2
src/Products/Five/tests/classes.py
src/Products/Five/tests/classes.py
+1
-2
src/Products/Five/tests/metaconfigure.py
src/Products/Five/tests/metaconfigure.py
+1
-2
src/Products/Five/tests/test_directives.py
src/Products/Five/tests/test_directives.py
+0
-2
src/Products/Five/tests/test_i18n.py
src/Products/Five/tests/test_i18n.py
+0
-2
src/Products/Five/tests/test_size.py
src/Products/Five/tests/test_size.py
+0
-2
src/Products/Five/tests/testing/__init__.py
src/Products/Five/tests/testing/__init__.py
+1
-2
src/Products/Five/tests/testing/fancycontent.py
src/Products/Five/tests/testing/fancycontent.py
+1
-2
src/Products/Five/tests/testing/folder.py
src/Products/Five/tests/testing/folder.py
+1
-2
src/Products/Five/tests/testing/pythonproduct1.py
src/Products/Five/tests/testing/pythonproduct1.py
+0
-5
src/Products/Five/tests/testing/simplecontent.py
src/Products/Five/tests/testing/simplecontent.py
+1
-2
src/Products/Five/utilities/browser/marker.py
src/Products/Five/utilities/browser/marker.py
+1
-2
src/Products/Five/utilities/browser/tests/test_marker.py
src/Products/Five/utilities/browser/tests/test_marker.py
+0
-2
src/Products/Five/utilities/interfaces.py
src/Products/Five/utilities/interfaces.py
+1
-2
src/Products/Five/utilities/marker.py
src/Products/Five/utilities/marker.py
+1
-2
src/Products/Five/viewlet/manager.py
src/Products/Five/viewlet/manager.py
+1
-2
src/Products/Five/viewlet/metaconfigure.py
src/Products/Five/viewlet/metaconfigure.py
+1
-2
src/Products/Five/viewlet/tests.py
src/Products/Five/viewlet/tests.py
+0
-3
src/Products/Five/viewlet/viewlet.py
src/Products/Five/viewlet/viewlet.py
+1
-2
src/Products/PageTemplates/Expressions.py
src/Products/PageTemplates/Expressions.py
+0
-2
src/Products/PageTemplates/PageTemplate.py
src/Products/PageTemplates/PageTemplate.py
+1
-2
src/Products/PageTemplates/ZRPythonExpr.py
src/Products/PageTemplates/ZRPythonExpr.py
+1
-2
src/Products/PageTemplates/ZopePageTemplate.py
src/Products/PageTemplates/ZopePageTemplate.py
+1
-2
src/Products/PageTemplates/__init__.py
src/Products/PageTemplates/__init__.py
+0
-2
src/Products/PageTemplates/tests/testZRPythonExpr.py
src/Products/PageTemplates/tests/testZRPythonExpr.py
+2
-2
src/Products/PageTemplates/unicodeconflictresolver.py
src/Products/PageTemplates/unicodeconflictresolver.py
+0
-2
src/Products/PageTemplates/utils.py
src/Products/PageTemplates/utils.py
+1
-4
src/Products/SiteErrorLog/SiteErrorLog.py
src/Products/SiteErrorLog/SiteErrorLog.py
+0
-2
src/Products/SiteErrorLog/__init__.py
src/Products/SiteErrorLog/__init__.py
+0
-2
src/Products/SiteErrorLog/tests/testSiteErrorLog.py
src/Products/SiteErrorLog/tests/testSiteErrorLog.py
+0
-4
src/Products/TemporaryFolder/TemporaryFolder.py
src/Products/TemporaryFolder/TemporaryFolder.py
+0
-3
src/Products/TemporaryFolder/__init__.py
src/Products/TemporaryFolder/__init__.py
+0
-2
src/Products/TemporaryFolder/mount.py
src/Products/TemporaryFolder/mount.py
+1
-2
src/Products/Transience/Transience.py
src/Products/Transience/Transience.py
+1
-2
src/Products/Transience/TransientObject.py
src/Products/Transience/TransientObject.py
+1
-5
src/Products/Transience/__init__.py
src/Products/Transience/__init__.py
+0
-2
src/Products/ZCatalog/CatalogBrains.py
src/Products/ZCatalog/CatalogBrains.py
+0
-2
src/Products/ZCatalog/Lazy.py
src/Products/ZCatalog/Lazy.py
+0
-3
src/Products/ZCatalog/ProgressHandler.py
src/Products/ZCatalog/ProgressHandler.py
+0
-3
src/Products/ZCatalog/ZCatalog.py
src/Products/ZCatalog/ZCatalog.py
+0
-2
src/Products/ZCatalog/ZCatalogIndexes.py
src/Products/ZCatalog/ZCatalogIndexes.py
+0
-2
src/Products/ZCatalog/interfaces.py
src/Products/ZCatalog/interfaces.py
+1
-3
src/Products/ZODBMountPoint/MountedObject.py
src/Products/ZODBMountPoint/MountedObject.py
+0
-2
src/Products/ZODBMountPoint/__init__.py
src/Products/ZODBMountPoint/__init__.py
+0
-2
src/Products/ZReST/ZReST.py
src/Products/ZReST/ZReST.py
+0
-3
src/Products/ZReST/__init__.py
src/Products/ZReST/__init__.py
+0
-5
src/Products/ZReST/tests/__init__.py
src/Products/ZReST/tests/__init__.py
+0
-2
src/Products/ZReST/tests/test_ZReST.py
src/Products/ZReST/tests/test_ZReST.py
+1
-2
src/Shared/DC/Scripts/Bindings.py
src/Shared/DC/Scripts/Bindings.py
+0
-2
src/Shared/DC/Scripts/BindingsUI.py
src/Shared/DC/Scripts/BindingsUI.py
+0
-2
src/Shared/DC/Scripts/Script.py
src/Shared/DC/Scripts/Script.py
+0
-2
src/Shared/DC/Scripts/Signature.py
src/Shared/DC/Scripts/Signature.py
+0
-3
src/Shared/DC/Scripts/__init__.py
src/Shared/DC/Scripts/__init__.py
+0
-2
src/Shared/DC/xml/__init__.py
src/Shared/DC/xml/__init__.py
+0
-1
src/Shared/DC/xml/ppml.py
src/Shared/DC/xml/ppml.py
+0
-3
src/Signals/SignalHandler.py
src/Signals/SignalHandler.py
+0
-3
src/Signals/Signals.py
src/Signals/Signals.py
+0
-3
src/Testing/ZopeTestCase/PortalTestCase.py
src/Testing/ZopeTestCase/PortalTestCase.py
+0
-2
src/Testing/ZopeTestCase/ZopeLite.py
src/Testing/ZopeTestCase/ZopeLite.py
+0
-2
src/Testing/ZopeTestCase/ZopeTestCase.py
src/Testing/ZopeTestCase/ZopeTestCase.py
+0
-2
src/Testing/ZopeTestCase/__init__.py
src/Testing/ZopeTestCase/__init__.py
+0
-2
src/Testing/ZopeTestCase/base.py
src/Testing/ZopeTestCase/base.py
+0
-2
src/Testing/ZopeTestCase/connections.py
src/Testing/ZopeTestCase/connections.py
+0
-2
src/Testing/ZopeTestCase/functional.py
src/Testing/ZopeTestCase/functional.py
+0
-2
src/Testing/ZopeTestCase/interfaces.py
src/Testing/ZopeTestCase/interfaces.py
+0
-2
src/Testing/ZopeTestCase/layer.py
src/Testing/ZopeTestCase/layer.py
+0
-2
src/Testing/ZopeTestCase/placeless.py
src/Testing/ZopeTestCase/placeless.py
+0
-2
src/Testing/ZopeTestCase/sandbox.py
src/Testing/ZopeTestCase/sandbox.py
+0
-2
src/Testing/ZopeTestCase/testBaseTestCase.py
src/Testing/ZopeTestCase/testBaseTestCase.py
+0
-2
src/Testing/ZopeTestCase/testFunctional.py
src/Testing/ZopeTestCase/testFunctional.py
+0
-2
src/Testing/ZopeTestCase/testInterfaces.py
src/Testing/ZopeTestCase/testInterfaces.py
+0
-2
src/Testing/ZopeTestCase/testPlaceless.py
src/Testing/ZopeTestCase/testPlaceless.py
+0
-2
src/Testing/ZopeTestCase/testPortalTestCase.py
src/Testing/ZopeTestCase/testPortalTestCase.py
+0
-2
src/Testing/ZopeTestCase/testSkeleton.py
src/Testing/ZopeTestCase/testSkeleton.py
+0
-2
src/Testing/ZopeTestCase/testWebserver.py
src/Testing/ZopeTestCase/testWebserver.py
+0
-2
src/Testing/ZopeTestCase/testZODBCompat.py
src/Testing/ZopeTestCase/testZODBCompat.py
+0
-2
src/Testing/ZopeTestCase/testZopeTestCase.py
src/Testing/ZopeTestCase/testZopeTestCase.py
+0
-2
src/Testing/ZopeTestCase/tests.py
src/Testing/ZopeTestCase/tests.py
+0
-2
src/Testing/ZopeTestCase/threadutils.py
src/Testing/ZopeTestCase/threadutils.py
+0
-2
src/Testing/ZopeTestCase/utils.py
src/Testing/ZopeTestCase/utils.py
+0
-2
src/Testing/ZopeTestCase/zopedoctest/__init__.py
src/Testing/ZopeTestCase/zopedoctest/__init__.py
+0
-2
src/Testing/ZopeTestCase/zopedoctest/functional.py
src/Testing/ZopeTestCase/zopedoctest/functional.py
+0
-2
src/Testing/ZopeTestCase/zopedoctest/testAuthHeaderTest.py
src/Testing/ZopeTestCase/zopedoctest/testAuthHeaderTest.py
+0
-2
src/Testing/ZopeTestCase/zopedoctest/testLayerExtraction.py
src/Testing/ZopeTestCase/zopedoctest/testLayerExtraction.py
+0
-2
src/Testing/ZopeTestCase/zopedoctest/testPackageAsProduct.py
src/Testing/ZopeTestCase/zopedoctest/testPackageAsProduct.py
+0
-2
src/Testing/ZopeTestCase/zopedoctest/testWarningsTest.py
src/Testing/ZopeTestCase/zopedoctest/testWarningsTest.py
+0
-2
src/Testing/ZopeTestCase/zopedoctest/testZopeDocTest.py
src/Testing/ZopeTestCase/zopedoctest/testZopeDocTest.py
+0
-2
src/Testing/ZopeTestCase/zopedoctest/tests.py
src/Testing/ZopeTestCase/zopedoctest/tests.py
+0
-2
src/Testing/__init__.py
src/Testing/__init__.py
+1
-2
src/Testing/dispatcher.py
src/Testing/dispatcher.py
+0
-3
src/Testing/makerequest.py
src/Testing/makerequest.py
+0
-3
src/Testing/tests/test_makerequest.py
src/Testing/tests/test_makerequest.py
+0
-2
src/Testing/tests/test_testbrowser.py
src/Testing/tests/test_testbrowser.py
+0
-2
src/ZPublisher/BaseRequest.py
src/ZPublisher/BaseRequest.py
+0
-2
src/ZPublisher/BaseResponse.py
src/ZPublisher/BaseResponse.py
+1
-3
src/ZPublisher/BeforeTraverse.py
src/ZPublisher/BeforeTraverse.py
+0
-2
src/ZPublisher/Client.py
src/ZPublisher/Client.py
+0
-1
src/ZPublisher/Converters.py
src/ZPublisher/Converters.py
+0
-1
src/ZPublisher/HTTPRangeSupport.py
src/ZPublisher/HTTPRangeSupport.py
+0
-2
src/ZPublisher/HTTPRequest.py
src/ZPublisher/HTTPRequest.py
+0
-2
src/ZPublisher/Publish.py
src/ZPublisher/Publish.py
+2
-3
src/ZPublisher/Test.py
src/ZPublisher/Test.py
+2
-5
src/ZPublisher/__init__.py
src/ZPublisher/__init__.py
+0
-2
src/ZPublisher/maybe_lock.py
src/ZPublisher/maybe_lock.py
+0
-1
src/ZPublisher/tests/test_exception_handling.py
src/ZPublisher/tests/test_exception_handling.py
+0
-2
src/ZServer/FCGIServer.py
src/ZServer/FCGIServer.py
+1
-3
src/ZServer/WebDAVSrcHandler.py
src/ZServer/WebDAVSrcHandler.py
+0
-2
src/ZServer/medusa/__init__.py
src/ZServer/medusa/__init__.py
+1
-3
src/ZTUtils/Batch.py
src/ZTUtils/Batch.py
+1
-2
src/ZTUtils/SimpleTree.py
src/ZTUtils/SimpleTree.py
+1
-2
src/ZTUtils/Tree.py
src/ZTUtils/Tree.py
+1
-2
src/ZTUtils/Zope.py
src/ZTUtils/Zope.py
+2
-3
src/ZTUtils/__init__.py
src/ZTUtils/__init__.py
+0
-2
src/Zope2/Startup/misc/TextBlockFormatter.py
src/Zope2/Startup/misc/TextBlockFormatter.py
+1
-4
src/Zope2/Startup/misc/zpasswd.py
src/Zope2/Startup/misc/zpasswd.py
+0
-2
src/Zope2/utilities/check_catalog.py
src/Zope2/utilities/check_catalog.py
+1
-2
src/Zope2/utilities/reindex_catalog.py
src/Zope2/utilities/reindex_catalog.py
+0
-2
src/Zope2/utilities/requestprofiler.py
src/Zope2/utilities/requestprofiler.py
+1
-2
src/Zope2/utilities/tracelog.py
src/Zope2/utilities/tracelog.py
+0
-4
src/webdav/Collection.py
src/webdav/Collection.py
+0
-2
src/webdav/EtagSupport.py
src/webdav/EtagSupport.py
+0
-2
src/webdav/LockItem.py
src/webdav/LockItem.py
+0
-2
src/webdav/Lockable.py
src/webdav/Lockable.py
+0
-2
src/webdav/NullResource.py
src/webdav/NullResource.py
+0
-2
src/webdav/Resource.py
src/webdav/Resource.py
+0
-2
src/webdav/__init__.py
src/webdav/__init__.py
+0
-2
src/webdav/client.py
src/webdav/client.py
+1
-3
src/webdav/common.py
src/webdav/common.py
+0
-3
src/webdav/davcmds.py
src/webdav/davcmds.py
+0
-2
src/webdav/interfaces.py
src/webdav/interfaces.py
+0
-2
src/webdav/xmltools.py
src/webdav/xmltools.py
+0
-1
No files found.
src/App/ApplicationManager.py
View file @
a172bbeb
...
...
@@ -10,9 +10,7 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__doc__
=
"""System management components"""
__version__
=
'$Revision: 1.94 $'
[
11
:
-
2
]
"""System management components"""
from
cgi
import
escape
from
cStringIO
import
StringIO
...
...
src/App/CacheManager.py
View file @
a172bbeb
...
...
@@ -13,9 +13,7 @@
'''Cache management support.
This class is mixed into the database manager in App.ApplicationManager.
$Id$'''
__version__
=
'$Revision: 1.31 $'
[
11
:
-
2
]
'''
from
AccessControl.class_init
import
InitializeClass
from
App.special_dtml
import
DTMLFile
...
...
src/App/Common.py
View file @
a172bbeb
...
...
@@ -10,11 +10,8 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
"""Commonly used utility functions."""
__version__
=
'$Revision: 1.20 $'
[
11
:
-
2
]
import
os
import
sys
import
time
...
...
src/App/DavLockManager.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
__version__
=
"$Revision: 1.8 $"
[
11
:
-
2
]
from
AccessControl.class_init
import
InitializeClass
from
AccessControl.SecurityInfo
import
ClassSecurityInfo
from
AccessControl.SecurityManagement
import
getSecurityManager
...
...
src/App/Dialogs.py
View file @
a172bbeb
...
...
@@ -31,8 +31,6 @@
target='_top')
</PRE>"""
__version__
=
'$Revision: 1.9 $'
[
11
:
-
2
]
from
App.special_dtml
import
HTML
MessageDialog
=
HTML
(
"""
...
...
src/App/FindHomes.py
View file @
a172bbeb
...
...
@@ -10,11 +10,8 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
"""Stick directory information in the built-in namespace."""
__version__
=
'$Revision: 1.13 $'
[
11
:
-
2
]
import
__builtin__
import
os
import
sys
...
...
src/App/ImageFile.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
##############################################################################
"""Image object that is stored in a file"""
__version__
=
'$Revision: 1.20 $'
[
11
:
-
2
]
import
os
import
os.path
import
stat
...
...
src/App/Management.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Standard management interface support
$Id$
"""
from
cgi
import
escape
...
...
src/App/PersistentExtra.py
View file @
a172bbeb
...
...
@@ -11,9 +11,8 @@
#
##############################################################################
"""Patch for Persistent to support IPersistentExtra.
$Id$
"""
from
DateTime.DateTime
import
DateTime
class
PersistentUtil
:
...
...
src/App/ProductContext.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Objects providing context for product initialization
$Id$
"""
from
logging
import
getLogger
...
...
src/App/RefreshFuncs.py
View file @
a172bbeb
...
...
@@ -12,7 +12,6 @@
##############################################################################
'''
Functions for refreshing products.
$Id$
'''
from
logging
import
getLogger
...
...
src/App/Undo.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Undo support.
$Id$
"""
from
Acquisition
import
aq_inner
...
...
src/App/interfaces.py
View file @
a172bbeb
...
...
@@ -10,9 +10,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""App z3 interfaces.
$Id$
"""App interfaces.
"""
from
zope.interface
import
Attribute
...
...
src/App/tar.py
View file @
a172bbeb
...
...
@@ -10,10 +10,8 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__doc__
=
'''Simple module for writing tar files
$Id$'''
__version__
=
'$Revision: 1.8 $'
[
11
:
-
2
]
"""Simple module for writing tar files
"""
import
sys
,
time
,
zlib
try
:
...
...
src/App/tests/test_cachemanager.py
View file @
a172bbeb
...
...
@@ -12,11 +12,11 @@
#
##############################################################################
"""Tests for the CacheManager.
$Id$
"""
import
unittest
class
DummyConnection
:
def
__init__
(
self
,
db
):
...
...
src/Globals/__init__.py
View file @
a172bbeb
...
...
@@ -14,7 +14,6 @@
o N.B.: DO NOT IMPORT ANYTHING HERE! This module is just for shared data!
"""
__version__
=
'$Revision: 1.56 $'
[
11
:
-
2
]
# BBB imports
from
zope.deferredimport
import
deprecated
...
...
src/HelpSys/APIHelpTopic.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
""" API documentation help topics.
$Id$
"""
import
types
...
...
src/HelpSys/HelpUtil.py
View file @
a172bbeb
...
...
@@ -12,9 +12,6 @@
##############################################################################
"""Help system support module"""
__version__
=
'$Revision: 1.12 $'
[
11
:
-
2
]
import
re
import
sys
...
...
@@ -86,8 +83,7 @@ class object(Implicit):
def
version
(
self
):
if
hasattr
(
self
.
_obj_
,
'__version__'
):
return
self
.
_obj_
.
__version__
return
None
tpId
=
get_name
tpURL
=
get_name
...
...
src/HelpSys/ObjectRef.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
##############################################################################
"""Object Reference implementation"""
__version__
=
'$Revision: 1.10 $'
[
11
:
-
2
]
import
sys
from
urllib
import
quote
...
...
src/OFS/Application.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Application support
$Id$
"""
import
os
,
sys
,
traceback
...
...
src/OFS/Cache.py
View file @
a172bbeb
...
...
@@ -11,9 +11,8 @@
#
##############################################################################
"""Cacheable object and cache management base classes.
$Id$
"""
from
logging
import
getLogger
import
sys
import
time
...
...
src/OFS/CopySupport.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Copy interface
$Id$
"""
from
cgi
import
escape
...
...
src/OFS/DefaultObservable.py
View file @
a172bbeb
...
...
@@ -14,9 +14,8 @@
http://www.zope.org/Members/michel/Projects/Interfaces/ObserverAndNotification)
This class is intended to be used as a mixin (note that it doesn't
derive from any Zope persistence classes, for instance).
$Id$
"""
from
types
import
StringType
class
DefaultObservable
:
...
...
src/OFS/Document.py
View file @
a172bbeb
...
...
@@ -11,9 +11,8 @@
#
##############################################################################
"""Deprecated - use DTMLMethod
$Id$
"""
import
DTMLMethod
Document
=
DTMLMethod
.
DTMLMethod
...
...
src/OFS/FTPInterface.py
View file @
a172bbeb
...
...
@@ -17,8 +17,6 @@ provided by existing methods such as PUT and manage_delObjects.
All FTP methods should be governed by a single permission:
'FTP access'.
$Id$
"""
from
zope.interface
import
implements
...
...
src/OFS/FindSupport.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Find support
$Id$
"""
from
string
import
translate
...
...
src/OFS/Folder.py
View file @
a172bbeb
...
...
@@ -13,8 +13,6 @@
"""Folder object
Folders are the basic container objects and are analogous to directories.
$Id$
"""
from
AccessControl.class_init
import
InitializeClass
...
...
src/OFS/History.py
View file @
a172bbeb
...
...
@@ -11,9 +11,8 @@
#
##############################################################################
"""Object Histories
$Id$
"""
from
cgi
import
escape
import
difflib
from
struct
import
pack
,
unpack
...
...
src/OFS/Image.py
View file @
a172bbeb
...
...
@@ -11,9 +11,8 @@
#
##############################################################################
"""Image object
$Id$
"""
from
cgi
import
escape
from
cStringIO
import
StringIO
from
mimetools
import
choose_boundary
...
...
src/OFS/Moniker.py
View file @
a172bbeb
...
...
@@ -16,8 +16,6 @@
persistent object. A moniker can be turned back into
a real object that retains its correct version context
and aquisition relationships via a simple interface.
$Id$
"""
class
Moniker
:
...
...
src/OFS/ObjectManager.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Object Manager
$Id$
"""
from
cgi
import
escape
...
...
src/OFS/OrderSupport.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
""" Order support for 'Object Manager'.
$Id$
"""
import
warnings
...
...
src/OFS/OrderedFolder.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
""" 'Folder' with order support.
$Id$
"""
from
AccessControl.SecurityManagement
import
getSecurityManager
...
...
src/OFS/PropertyManager.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Property management
$Id$
"""
from
cgi
import
escape
...
...
src/OFS/PropertySheets.py
View file @
a172bbeb
...
...
@@ -11,9 +11,8 @@
#
##############################################################################
"""Property sheets
$Id$
"""
from
cgi
import
escape
import
time
import
sys
...
...
src/OFS/SimpleItem.py
View file @
a172bbeb
...
...
@@ -16,8 +16,6 @@ Aqueduct database adapters, etc.
This module can also be used as a simple template for implementing new
item types.
$Id$
"""
import
marshal
...
...
src/OFS/Traversable.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""This module implements a mix-in for traversable objects.
$Id$
"""
from
urllib
import
quote
...
...
src/OFS/event.py
View file @
a172bbeb
...
...
@@ -13,8 +13,6 @@
##############################################################################
"""
OFS event definitions.
$Id$
"""
from
zope.interface
import
implements
...
...
src/OFS/interfaces.py
View file @
a172bbeb
...
...
@@ -11,9 +11,8 @@
#
##############################################################################
"""OFS interfaces.
$Id$
"""
from
zope.container.interfaces
import
IContainer
from
zope.interface
import
Attribute
from
zope.interface
import
Interface
...
...
src/OFS/ndiff.py
View file @
a172bbeb
...
...
@@ -43,8 +43,6 @@ recovered by piping the output through
See module comments for details and programmatic interface.
"""
__version__
=
1
,
4
,
0
# SequenceMatcher tries to compute a "human-friendly diff" between
# two sequences (chiefly picturing a file as a sequence of lines,
# and a line as a sequence of characters, here). Unlike e.g. UNIX(tm)
...
...
src/OFS/rPickle.py
View file @
a172bbeb
...
...
@@ -11,9 +11,8 @@
#
##############################################################################
"""Restricted unpickler
$Id$
"""
import
pickle
reg
=
{}
...
...
src/OFS/tests/testProperties.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Properties unit tests.
$Id$
"""
import
unittest
...
...
src/OFS/tests/testTraverse.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Traverse unit tests.
$Id$
"""
import
unittest
...
...
src/OFS/tests/test_event.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Test events
$Id$
"""
# These classes aren't defined in the doctest because otherwise
...
...
src/OFS/tests/test_registerclass.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Unit tests for the registerClass directive.
$Id$
"""
from
AccessControl.class_init
import
InitializeClass
...
...
src/Products/Five/__init__.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Initialize the Five product
$Id$
"""
# public API provided by Five
...
...
src/Products/Five/bbb.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Things needed for backward compatibility
$Id$
"""
import
Acquisition
...
...
src/Products/Five/browser/__init__.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Provide basic browser functionality
$Id$
"""
import
Acquisition
import
zope.publisher.browser
...
...
src/Products/Five/browser/adding.py
View file @
a172bbeb
...
...
@@ -17,8 +17,6 @@ The Adding View is used to add new objects to a container. It is sort of a
factory screen.
(original: zope.app.container.browser.adding)
$Id$
"""
__docformat__
=
'restructuredtext'
...
...
src/Products/Five/browser/decode.py
View file @
a172bbeb
...
...
@@ -13,8 +13,6 @@
##############################################################################
""" Utility functions for decoding browser input and setting the output
encoding.
$Id$
"""
from
zope.publisher.browser
import
isCGI_NAME
...
...
src/Products/Five/browser/menu.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Some menu code
$Id$
"""
import
zope.deferredimport
zope
.
deferredimport
.
deprecated
(
...
...
src/Products/Five/browser/pagetemplatefile.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""A 'PageTemplateFile' without security restrictions.
$Id$
"""
from
os.path
import
basename
from
zope.component
import
getMultiAdapter
from
zope.pagetemplate.pagetemplatefile
import
PageTemplateFile
...
...
src/Products/Five/browser/resource.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Provide basic resource functionality
$Id$
"""
import
os
import
urllib
...
...
src/Products/Five/browser/tests/classes.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Test fixtures
$Id$
"""
from
zope.interface
import
Interface
,
implements
from
Products.Five
import
BrowserView
...
...
src/Products/Five/browser/tests/i18n.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Test i18n.
$Id$
"""
from
zope.i18nmessageid
import
MessageFactory
_
=
MessageFactory
(
'fivetest'
)
from
Products.Five
import
BrowserView
...
...
src/Products/Five/browser/tests/pages.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Test browser pages
$Id$
"""
from
Products.Five
import
BrowserView
from
Products.Five.browser.pagetemplatefile
import
ViewPageTemplateFile
from
OFS.SimpleItem
import
SimpleItem
...
...
src/Products/Five/browser/tests/skin.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Test skins
$Id$
"""
from
zope.publisher.interfaces.browser
import
IDefaultBrowserLayer
class
ITestSkin
(
IDefaultBrowserLayer
):
...
...
src/Products/Five/browser/tests/test_absoluteurl.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Test AbsoluteURL
$Id$
"""
def
test_absoluteurl
():
...
...
src/Products/Five/browser/tests/test_adding.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Test adding views
$Id$
"""
def
test_suite
():
...
...
src/Products/Five/browser/tests/test_decode.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Unit tests for decode module.
$Id$
"""
def
test_processInputs
():
...
...
src/Products/Five/browser/tests/test_defaultview.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Test Default View functionality
$Id$
"""
def
test_default_view
():
...
...
src/Products/Five/browser/tests/test_i18n.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Unit tests for the i18n framework
$Id$
"""
def
test_zpt_i18n
():
...
...
src/Products/Five/browser/tests/test_menu.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Test browser menus
$Id$
"""
def
test_menu
():
...
...
src/Products/Five/browser/tests/test_provider.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Test browser pages
$Id$
"""
def
test_suite
():
...
...
src/Products/Five/browser/tests/test_recurse.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Test default view recursion
$Id$
"""
def
test_recursion
():
...
...
src/Products/Five/browser/tests/test_skin.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Test browser pages
$Id$
"""
def
test_suite
():
...
...
src/Products/Five/browser/tests/test_traversable.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Test Five-traversable classes
$Id$
"""
class
SimpleClass
(
object
):
...
...
src/Products/Five/component/__init__.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Five local component look-up support
$Id$
"""
import
zope.interface
import
zope.component
import
zope.event
...
...
src/Products/Five/component/browser.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Component browser views
$Id$
"""
from
Products.Five.browser
import
BrowserView
from
Products.Five.component
import
enableSite
,
disableSite
from
Products.Five.component.interfaces
import
IObjectManagerSite
...
...
src/Products/Five/component/interfaces.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Component interfaces
$Id$
"""
from
zope.location.interfaces
import
ISite
from
OFS.interfaces
import
IObjectManager
...
...
src/Products/Five/component/tests.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Component tests
$Id$
"""
import
unittest
from
doctest
import
DocFileSuite
from
Testing.ZopeTestCase
import
FunctionalDocFileSuite
...
...
src/Products/Five/eventconfigure.py
View file @
a172bbeb
...
...
@@ -11,9 +11,6 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""
$Id$
"""
from
zope.deferredimport
import
deprecated
...
...
src/Products/Five/fiveconfigure.py
View file @
a172bbeb
...
...
@@ -14,9 +14,8 @@
"""Five-specific directive handlers
These directives are specific to Five and have no equivalents outside of it.
$Id$
"""
import
os
import
glob
import
warnings
...
...
src/Products/Five/fivedirectives.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Five ZCML directive schemas
$Id$
"""
from
zope.interface
import
Interface
from
zope.browserresource.metadirectives
import
IBasicResourceInformation
from
zope.configuration.fields
import
GlobalObject
,
Tokens
...
...
src/Products/Five/interfaces.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Five interfaces
$Id$
"""
from
zope.deferredimport
import
deprecated
...
...
src/Products/Five/security.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Five security handling
$Id$
"""
from
zope.deferredimport
import
deprecated
deprecated
(
"Please import InitializeClass from App.class_init"
,
...
...
src/Products/Five/sizeconfigure.py
View file @
a172bbeb
...
...
@@ -13,9 +13,8 @@
##############################################################################
"""Use structured monkey-patching to enable ``ISized`` adapters for
Zope 2 objects.
$Id$
"""
from
zope.size.interfaces
import
ISized
from
Products.Five
import
fivemethod
,
isFiveMethod
...
...
src/Products/Five/skin/standardmacros.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Mimick the zope.app.basicskin skinning system.
$Id$
"""
import
zope.interface
import
zope.component
from
Products.Five.browser
import
BrowserView
...
...
src/Products/Five/skin/tests/demomacros.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Demo StandardMacros
$Id$
"""
from
Products.Five
import
StandardMacros
as
BaseMacros
class
StandardMacros
(
BaseMacros
):
...
...
src/Products/Five/skin/tests/test_standardmacros.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Test standard macros
$Id$
"""
def
test_standard_macros
():
...
...
src/Products/Five/tests/adapters.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Adapter test fixtures
$Id$
"""
from
zope.interface
import
implements
,
Interface
from
zope.component
import
adapts
...
...
src/Products/Five/tests/boilerplate.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Boiler plate test module
$Id$
"""
def
test_boilerplate
():
...
...
src/Products/Five/tests/classes.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Interfaces test fixtures
$Id$
"""
from
zope.interface
import
Interface
class
One
(
object
):
...
...
src/Products/Five/tests/metaconfigure.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Parrot directive and support classes
$Id$
"""
from
zope.interface
import
Interface
from
zope.configuration.fields
import
GlobalObject
from
zope.schema
import
TextLine
...
...
src/Products/Five/tests/test_directives.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Test the basic ZCML directives
$Id$
"""
def
test_directives
():
...
...
src/Products/Five/tests/test_i18n.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Unit tests for the i18n framework
$Id$
"""
from
zope.component.testing
import
setUp
,
tearDown
...
...
src/Products/Five/tests/test_size.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Size adapters for testing
$Id$
"""
from
zope.interface
import
implements
...
...
src/Products/Five/tests/testing/__init__.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Test helpers
$Id$
"""
from
Products.Five.tests.testing.folder
import
FiveTraversableFolder
from
Products.Five.tests.testing.folder
import
manage_addFiveTraversableFolder
from
Products.Five.tests.testing.folder
import
manage_addNoVerifyPasteFolder
...
...
src/Products/Five/tests/testing/fancycontent.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Test content objects.
$Id$
"""
from
AccessControl.class_init
import
InitializeClass
from
AccessControl.SecurityInfo
import
ClassSecurityInfo
from
Acquisition
import
Explicit
...
...
src/Products/Five/tests/testing/folder.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Test folders
$Id$
"""
from
OFS.Folder
import
Folder
from
OFS.interfaces
import
IFolder
from
zope.interface
import
implements
...
...
src/Products/Five/tests/testing/pythonproduct1.py
View file @
a172bbeb
...
...
@@ -11,8 +11,3 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Python
$Id$
"""
src/Products/Five/tests/testing/simplecontent.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Simple content class(es) for browser tests
$Id$
"""
from
AccessControl.class_init
import
InitializeClass
from
AccessControl.SecurityInfo
import
ClassSecurityInfo
from
OFS.SimpleItem
import
SimpleItem
...
...
src/Products/Five/utilities/browser/marker.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Marker interfaces adapter views.
$Id$
"""
from
Products.Five.utilities.interfaces
import
IMarkerInterfaces
...
...
src/Products/Five/utilities/browser/tests/test_marker.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Unit tests for marker interface views.
$Id$
"""
def
test_editview
():
...
...
src/Products/Five/utilities/interfaces.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Utility Interface Definitions.
$Id$
"""
from
zope.interface
import
Interface
...
...
src/Products/Five/utilities/marker.py
View file @
a172bbeb
...
...
@@ -14,9 +14,8 @@
"""Marker interfaces adapter.
Allows for arbitrary application of marker interfaces to objects.
$Id$
"""
from
sets
import
Set
from
zope.interface
import
implements
,
implementedBy
,
providedBy
...
...
src/Products/Five/viewlet/manager.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Viewlet manager.
$Id$
"""
from
Acquisition
import
aq_base
from
AccessControl.ZopeGuards
import
guarded_hasattr
import
zope.interface
...
...
src/Products/Five/viewlet/metaconfigure.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Viewlet ZCML directives.
$Id$
"""
import
os
from
zope.browserpage.metaconfigure
import
_handle_for
...
...
src/Products/Five/viewlet/tests.py
View file @
a172bbeb
...
...
@@ -12,10 +12,7 @@
#
##############################################################################
"""Viewlet tests
$Id$
"""
__docformat__
=
'restructuredtext'
import
unittest
from
Testing.ZopeTestCase
import
FunctionalDocFileSuite
...
...
src/Products/Five/viewlet/viewlet.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
#
##############################################################################
"""Viewlet.
$Id$
"""
import
os
import
zope.viewlet.viewlet
from
Products.Five.bbb
import
AcquisitionBBB
...
...
src/Products/PageTemplates/Expressions.py
View file @
a172bbeb
...
...
@@ -14,8 +14,6 @@
Page Template-specific implementation of TALES, with handlers
for Python expressions, string literals, and paths.
$Id$
"""
import
logging
...
...
src/Products/PageTemplates/PageTemplate.py
View file @
a172bbeb
...
...
@@ -11,9 +11,8 @@
#
##############################################################################
"""Page Template module
$Id$
"""
import
sys
import
ExtensionClass
import
zope.pagetemplate.pagetemplate
...
...
src/Products/PageTemplates/ZRPythonExpr.py
View file @
a172bbeb
...
...
@@ -13,9 +13,8 @@
"""Zope-specific Python Expression Handler
Handler for Python expressions that uses the RestrictedPython package.
$Id$
"""
from
AccessControl
import
safe_builtins
from
AccessControl.ZopeGuards
import
guarded_getattr
,
get_safe_globals
from
RestrictedPython
import
compile_restricted_eval
...
...
src/Products/PageTemplates/ZopePageTemplate.py
View file @
a172bbeb
...
...
@@ -11,9 +11,8 @@
#
##############################################################################
"""Zope Page Template module (wrapper for the zope.pagetemplate implementation)
$Id$
"""
import
os
import
re
...
...
src/Products/PageTemplates/__init__.py
View file @
a172bbeb
...
...
@@ -14,8 +14,6 @@
This wrapper allows the Page Template modules to be segregated in a
separate package.
$Id$
"""
# Placeholder for Zope Product data
...
...
src/Products/PageTemplates/tests/testZRPythonExpr.py
View file @
a172bbeb
""" Unit tests for Products.PageTemplates.ZRPythonExpr
$Id
"""
import
unittest
class
MiscTests
(
unittest
.
TestCase
):
def
test_call_with_ns_prefer_context_to_here
(
self
):
...
...
src/Products/PageTemplates/unicodeconflictresolver.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Unicode conflict resolution.
$Id$
"""
import
sys
...
...
src/Products/PageTemplates/utils.py
View file @
a172bbeb
...
...
@@ -10,10 +10,7 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
""" Some helper methods
$Id$
"""Some helper methods
"""
import
re
...
...
src/Products/SiteErrorLog/SiteErrorLog.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Site error log module.
$Id$
"""
import
os
...
...
src/Products/SiteErrorLog/__init__.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Site error log product.
$Id$
"""
import
SiteErrorLog
...
...
src/Products/SiteErrorLog/tests/testSiteErrorLog.py
View file @
a172bbeb
"""SiteErrorLog tests
Note: Tests require Zope >= 2.7
$Id: testSiteErrorLog.py 27325 2004-08-29 09:59:28Z jens $
"""
from
Testing.makerequest
import
makerequest
...
...
src/Products/TemporaryFolder/TemporaryFolder.py
View file @
a172bbeb
...
...
@@ -20,10 +20,7 @@ lives in another ZODB.
To understand this fully, you'll need to read the source of
Products.TemporaryFolder.mount.MountPoint.
$Id$
"""
__version__
=
'$Revision: 1.12 $'
[
11
:
-
2
]
from
App.special_dtml
import
DTMLFile
from
App.special_dtml
import
HTMLFile
...
...
src/Products/TemporaryFolder/__init__.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
##############################################################################
"""
Temporary Folder initialization routines
$Id$
"""
import
ZODB
# for testrunner to be happy
...
...
src/Products/TemporaryFolder/mount.py
View file @
a172bbeb
...
...
@@ -12,8 +12,7 @@
#
##############################################################################
"""Mounted database support
$Id: Mount.py 82361 2007-12-19 18:44:17Z jim $"""
"""
import
time
import
thread
...
...
src/Products/Transience/Transience.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
##############################################################################
"""
Transient Object Container Class ('timeslice'-based design, no index).
$Id$
"""
from
cgi
import
escape
from
logging
import
getLogger
import
math
...
...
src/Products/Transience/TransientObject.py
View file @
a172bbeb
...
...
@@ -10,12 +10,8 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
"""Simple ZODB-based transient object implementation.
"""
Simple ZODB-based transient object implementation.
$Id$
"""
__version__
=
'$Revision: 1.9.68.5 $'
[
11
:
-
2
]
import
logging
import
os
...
...
src/Products/Transience/__init__.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
##############################################################################
"""
Transience initialization routines
$Id$
"""
import
ZODB
# this is to help out testrunner, don't remove.
...
...
src/Products/ZCatalog/CatalogBrains.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
__version__
=
"$Revision$"
[
11
:
-
2
]
from
zope.interface
import
implements
import
Acquisition
,
Record
...
...
src/Products/ZCatalog/Lazy.py
View file @
a172bbeb
...
...
@@ -10,9 +10,6 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__doc__
=
'''$Id$'''
__version__
=
'$Revision: 1.9 $'
[
11
:
-
2
]
class
Lazy
:
...
...
src/Products/ZCatalog/ProgressHandler.py
View file @
a172bbeb
...
...
@@ -10,9 +10,6 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""
$Id$
"""
import
time
,
sys
from
logging
import
getLogger
...
...
src/Products/ZCatalog/ZCatalog.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
""" ZCatalog product
$Id$
"""
import
logging
...
...
src/Products/ZCatalog/ZCatalogIndexes.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Virtual container for ZCatalog indexes.
$Id$
"""
from
AccessControl.class_init
import
InitializeClass
...
...
src/Products/ZCatalog/interfaces.py
View file @
a172bbeb
...
...
@@ -10,9 +10,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""ZCatalog z3 interfaces.
$Id$
"""ZCatalog interfaces.
"""
from
zope.interface
import
Interface
...
...
src/Products/ZODBMountPoint/MountedObject.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Mount point (stored in ZODB).
$Id$
"""
import
os
...
...
src/Products/ZODBMountPoint/__init__.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""ZODBMountPoint product.
$Id$
"""
def
initialize
(
context
):
...
...
src/Products/ZReST/ZReST.py
View file @
a172bbeb
#
# $Id$
#
''' ReStructuredText Product for Zope
This Product stores two texts - a "source" text in ReStructureText format,
...
...
src/Products/ZReST/__init__.py
View file @
a172bbeb
#
# $Id$
#
__version__
=
'1.0'
# product initialisation
import
ZReST
def
initialize
(
context
):
...
...
src/Products/ZReST/tests/__init__.py
View file @
a172bbeb
""" Unit tests for ZReST product.
$Id$
"""
src/Products/ZReST/tests/test_ZReST.py
View file @
a172bbeb
# -*- coding: iso-8859-15 -*-
""" Unit tests for ZReST objects
$Id$
"""
import
unittest
import
cgi
import
tempfile
...
...
src/Shared/DC/Scripts/Bindings.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
__version__
=
'$Revision$'
[
11
:
-
2
]
import
re
import
string
...
...
src/Shared/DC/Scripts/BindingsUI.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
__version__
=
'$Revision$'
[
11
:
-
2
]
from
AccessControl.class_init
import
InitializeClass
from
AccessControl.Permissions
import
view_management_screens
from
AccessControl.SecurityInfo
import
ClassSecurityInfo
...
...
src/Shared/DC/Scripts/Script.py
View file @
a172bbeb
...
...
@@ -10,12 +10,10 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
"""Script module
This provides generic script support
"""
__version__
=
'$Revision$'
[
11
:
-
2
]
from
string
import
join
from
urllib
import
quote
...
...
src/Shared/DC/Scripts/Signature.py
View file @
a172bbeb
...
...
@@ -10,14 +10,11 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
"""Signature module
This provides support for simulating function signatures
"""
__version__
=
'$Revision: 1.6 $'
[
11
:
-
2
]
class
FuncCode
:
def
__init__
(
self
,
varnames
,
argcount
):
...
...
src/Shared/DC/Scripts/__init__.py
View file @
a172bbeb
...
...
@@ -10,5 +10,3 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__version__
=
'$Revision$'
[
11
:
-
2
]
src/Shared/DC/xml/__init__.py
View file @
a172bbeb
...
...
@@ -10,4 +10,3 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__version__
=
'$Revision: 1.3 $'
[
11
:
-
2
]
src/Shared/DC/xml/ppml.py
View file @
a172bbeb
...
...
@@ -11,11 +11,8 @@
#
##############################################################################
"""Provide conversion between Python pickles and XML
"""
__version__
=
"1.9"
# Code version
from
pickle
import
*
import
struct
import
base64
...
...
src/Signals/SignalHandler.py
View file @
a172bbeb
...
...
@@ -10,11 +10,8 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
"""Signal handling dispatcher."""
__version__
=
'$Revision: 1.2 $'
[
11
:
-
2
]
import
sys
,
os
import
signal
from
logging
import
getLogger
...
...
src/Signals/Signals.py
View file @
a172bbeb
...
...
@@ -12,10 +12,7 @@
##############################################################################
"""
Zope signal handlers for clean shutdown, restart and log rotation.
$Id$
"""
__version__
=
'$Revision: 1.3 $'
[
11
:
-
2
]
import
logging
import
os
...
...
src/Testing/ZopeTestCase/PortalTestCase.py
View file @
a172bbeb
...
...
@@ -23,8 +23,6 @@ This class maintains a fixture consisting of:
The twist is that the portal object itself is *not* created
by the PortalTestCase class! Subclasses must make sure
getPortal() returns a usable portal object to the setup code.
$Id$
"""
import
base
...
...
src/Testing/ZopeTestCase/ZopeLite.py
View file @
a172bbeb
...
...
@@ -21,8 +21,6 @@ Typically used as in
import ZopeLite as Zope2
Zope2.installProduct('SomeProduct')
app = Zope2.app()
$Id$
"""
import
os
,
sys
,
time
...
...
src/Testing/ZopeTestCase/ZopeTestCase.py
View file @
a172bbeb
...
...
@@ -20,8 +20,6 @@ The fixture consists of:
The default user is logged in and has the 'Access contents information'
and 'View' permissions given to his role.
$Id$
"""
import
base
...
...
src/Testing/ZopeTestCase/__init__.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Names exported by the ZopeTestCase package
$Id$
"""
import
ZopeLite
as
Zope2
...
...
src/Testing/ZopeTestCase/base.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""TestCase for Zope testing
$Id$
"""
import
ZopeLite
as
Zope2
...
...
src/Testing/ZopeTestCase/connections.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""ZODB connection registry
$Id$
"""
class
ConnectionRegistry
:
...
...
src/Testing/ZopeTestCase/functional.py
View file @
a172bbeb
...
...
@@ -13,8 +13,6 @@
"""Support for functional unit testing in ZTC
After Marius Gedminas' functional.py module for Zope3.
$Id$
"""
import
sys
,
re
,
base64
...
...
src/Testing/ZopeTestCase/interfaces.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""ZopeTestCase interfaces
$Id$
"""
from
zope.interface
import
Interface
...
...
src/Testing/ZopeTestCase/layer.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""ZopeLite layer
$Id$
"""
_deferred_setup
=
[]
...
...
src/Testing/ZopeTestCase/placeless.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Placeless setup
$Id$
"""
from
zope.component.testing
import
PlacelessSetup
as
CAPlacelessSetup
...
...
src/Testing/ZopeTestCase/sandbox.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Support for ZODB sandboxes in ZTC
$Id$
"""
import
ZopeLite
as
Zope2
...
...
src/Testing/ZopeTestCase/testBaseTestCase.py
View file @
a172bbeb
...
...
@@ -18,8 +18,6 @@ use this file as a blueprint for your own tests!
See testPythonScript.py and testShoppingCart.py for
example test cases. See testSkeleton.py for a quick
way of getting started.
$Id$
"""
import
transaction
...
...
src/Testing/ZopeTestCase/testFunctional.py
View file @
a172bbeb
...
...
@@ -14,8 +14,6 @@
Demonstrates how to use the publish() API to execute GET, POST, PUT, etc.
requests against the ZPublisher and how to examine the response.
$Id$
"""
from
Testing
import
ZopeTestCase
...
...
src/Testing/ZopeTestCase/testInterfaces.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Interface tests
$Id$
"""
from
Testing.ZopeTestCase
import
*
...
...
src/Testing/ZopeTestCase/testPlaceless.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Placeless setup tests
$Id$
"""
from
zope.component
import
adapts
...
...
src/Testing/ZopeTestCase/testPortalTestCase.py
View file @
a172bbeb
...
...
@@ -18,8 +18,6 @@ use this file as a blueprint for your own tests!
See testPythonScript.py and testShoppingCart.py for
example test cases. See testSkeleton.py for a quick
way of getting started.
$Id$
"""
from
Testing
import
ZopeTestCase
...
...
src/Testing/ZopeTestCase/testSkeleton.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Skeleton ZopeTestCase
$Id$
"""
from
Testing
import
ZopeTestCase
...
...
src/Testing/ZopeTestCase/testWebserver.py
View file @
a172bbeb
...
...
@@ -25,8 +25,6 @@ need to URL-call back into the Zope server.
If you want to write functional unit tests, see the testFunctional.py
example instead.
$Id$
"""
from
Testing
import
ZopeTestCase
...
...
src/Testing/ZopeTestCase/testZODBCompat.py
View file @
a172bbeb
...
...
@@ -15,8 +15,6 @@
Demonstrates that cut/copy/paste/clone/rename and import/export
work if a subtransaction is committed before performing the respective
operation.
$Id$
"""
import
os
...
...
src/Testing/ZopeTestCase/testZopeTestCase.py
View file @
a172bbeb
...
...
@@ -18,8 +18,6 @@ use this file as a blueprint for your own tests!
See testPythonScript.py and testShoppingCart.py for
example test cases. See testSkeleton.py for a quick
way of getting started.
$Id$
"""
from
Testing
import
ZopeTestCase
...
...
src/Testing/ZopeTestCase/tests.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Test runner that works with zope.testing.testrunner
$Id$
"""
import
unittest
...
...
src/Testing/ZopeTestCase/threadutils.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
##############################################################################
"""Parts of ZServer support are in this module so they can
be imported more selectively.
$Id$
"""
from
threading
import
Thread
...
...
src/Testing/ZopeTestCase/utils.py
View file @
a172bbeb
...
...
@@ -14,8 +14,6 @@
These functions are designed to be imported and run at
module level to add functionality to the test environment.
$Id$
"""
import
os
...
...
src/Testing/ZopeTestCase/zopedoctest/__init__.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""ZopeTestCase doctest support
$Id$
"""
from
doctest
import
*
...
...
src/Testing/ZopeTestCase/zopedoctest/functional.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Support for (functional) doc tests
$Id$
"""
import
base64
...
...
src/Testing/ZopeTestCase/zopedoctest/testAuthHeaderTest.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Test for auth_header
$Id$
"""
from
unittest
import
TestSuite
,
makeSuite
...
...
src/Testing/ZopeTestCase/zopedoctest/testLayerExtraction.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Test layer extraction feature
$Id$
"""
from
unittest
import
TestSuite
...
...
src/Testing/ZopeTestCase/zopedoctest/testPackageAsProduct.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Tests for installPackage
$Id$
"""
import
sys
...
...
src/Testing/ZopeTestCase/zopedoctest/testWarningsTest.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Example doctest
$Id$
"""
from
unittest
import
TestSuite
...
...
src/Testing/ZopeTestCase/zopedoctest/testZopeDocTest.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Example Zope doctest
$Id$
"""
from
unittest
import
TestSuite
...
...
src/Testing/ZopeTestCase/zopedoctest/tests.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Test runner that works with zope.testing.testrunner
$Id$
"""
import
unittest
...
...
src/Testing/__init__.py
View file @
a172bbeb
...
...
@@ -12,9 +12,8 @@
##############################################################################
"""
Set up testing environment
$Id$
"""
import
os
import
App.config
...
...
src/Testing/dispatcher.py
View file @
a172bbeb
...
...
@@ -15,9 +15,6 @@
# Andreas Jung, andreas@digicool.com 03/24/2001
__version__
=
'$Id$'
import
os
,
sys
,
re
,
string
import
threading
,
time
,
commands
,
profile
...
...
src/Testing/makerequest.py
View file @
a172bbeb
...
...
@@ -13,9 +13,6 @@
"""
Facilitates unit tests which requires an acquirable REQUEST from
ZODB objects
$Id$
"""
import
os
...
...
src/Testing/tests/test_makerequest.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Unit tests of makequest.
$Id$
"""
import
unittest
...
...
src/Testing/tests/test_testbrowser.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
"""Unit tests for the testbrowser module.
$Id$
"""
import
unittest
...
...
src/ZPublisher/BaseRequest.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
""" Basic ZPublisher request management.
$Id$
"""
from
urllib
import
quote
as
urllib_quote
...
...
src/ZPublisher/BaseResponse.py
View file @
a172bbeb
...
...
@@ -11,9 +11,7 @@
#
##############################################################################
'''CGI Response Output formatter
$Id$'''
__version__
=
'$Revision: 1.19 $'
[
11
:
-
2
]
'''
from
zExceptions
import
Unauthorized
,
Forbidden
,
NotFound
,
BadRequest
...
...
src/ZPublisher/BeforeTraverse.py
View file @
a172bbeb
...
...
@@ -10,8 +10,6 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__version__
=
'$Revision: 1.12 $'
[
11
:
-
2
]
"""BeforeTraverse interface and helper classes"""
from
Acquisition
import
aq_base
...
...
src/ZPublisher/Client.py
View file @
a172bbeb
...
...
@@ -31,7 +31,6 @@ that allows one to simply make a single web request.
The module also provides a command-line interface for calling objects.
"""
__version__
=
'$Revision: 1.46 $'
[
11
:
-
2
]
import
sys
,
re
,
socket
,
mimetools
from
httplib
import
HTTP
...
...
src/ZPublisher/Converters.py
View file @
a172bbeb
...
...
@@ -10,7 +10,6 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__version__
=
'$Revision: 1.24 $'
[
11
:
-
2
]
import
re
from
types
import
ListType
,
TupleType
,
UnicodeType
...
...
src/ZPublisher/HTTPRangeSupport.py
View file @
a172bbeb
...
...
@@ -19,8 +19,6 @@ flag-interface and some support functions for implementing this functionality.
For an implementation example, see the File class in OFS/Image.py.
"""
__version__
=
'$Revision: 1.8 $'
[
11
:
-
2
]
import
re
,
sys
from
zope.interface
import
Interface
...
...
src/ZPublisher/HTTPRequest.py
View file @
a172bbeb
...
...
@@ -12,8 +12,6 @@
#
##############################################################################
""" HTTP request management.
$Id$
"""
from
cgi
import
escape
...
...
src/ZPublisher/Publish.py
View file @
a172bbeb
...
...
@@ -10,9 +10,8 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__doc__
=
"""Python Object Publisher -- Publish Python objects on web servers
$Id$"""
"""Python Object Publisher -- Publish Python objects on web servers
"""
import
sys
,
os
import
transaction
...
...
src/ZPublisher/Test.py
View file @
a172bbeb
...
...
@@ -89,10 +89,7 @@ Examples
c
s
$Id$
'''
__version__
=
'$Revision: 1.41 $'
[
11
:
-
2
]
DONE_STRING_DEFAULT
=
'
\
n
%s
\
n
\
n
'
%
(
'_'
*
60
)
...
...
@@ -290,9 +287,9 @@ def publish(script=None,path_info='/',
env
[
'REQUEST_METHOD'
]
=
request_method
env
[
'REMOTE_ADDR'
]
=
'204.183.226.81 '
env
[
'REMOTE_HOST'
]
=
'bobo.remote.host'
env
[
'HTTP_USER_AGENT'
]
=
'Bobo/
%s'
%
__version__
env
[
'HTTP_USER_AGENT'
]
=
'Bobo/
SVN'
env
[
'HTTP_HOST'
]
=
'127.0.0.1'
env
[
'SERVER_SOFTWARE'
]
=
'Bobo/
%s'
%
__version__
env
[
'SERVER_SOFTWARE'
]
=
'Bobo/
SVN'
env
[
'SERVER_PROTOCOL'
]
=
'HTTP/1.0 '
env
[
'HTTP_ACCEPT'
]
=
'image/gif, image/x-xbitmap, image/jpeg, */* '
env
[
'SERVER_HOSTNAME'
]
=
'bobo.server.host'
...
...
src/ZPublisher/__init__.py
View file @
a172bbeb
...
...
@@ -10,8 +10,6 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__version__
=
'$Revision: 1.13 $'
[
11
:
-
2
]
# This allows ZPublisher to work with embedded interpreters
# that for some reason have no sys.argv (required by cgi.py).
...
...
src/ZPublisher/maybe_lock.py
View file @
a172bbeb
...
...
@@ -10,7 +10,6 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__version__
=
'$Revision: 1.4 $'
[
11
:
-
2
]
# Waaaa, I wish I didn't have to work this hard.
try
:
from
thread
import
allocate_lock
...
...
src/ZPublisher/tests/test_exception_handling.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
""" Functional tests for exception handling.
$Id$
"""
import
unittest
...
...
src/ZServer/FCGIServer.py
View file @
a172bbeb
...
...
@@ -23,8 +23,6 @@ See http://www.fastcgi.com/fcgi-devkit-2.1/doc/fcgi-spec.html for the
protocol specificaition.
"""
__version__
=
"1.0"
#----------------------------------------------------------------------
import
asynchat
,
asyncore
...
...
@@ -637,7 +635,7 @@ class FCGIServer(asyncore.dispatcher):
'
\
t
IP : %s
\
n
'
'
\
t
Port : %s
\
n
'
'
\
t
Socket path : %s
\
n
'
%
(
__version__
,
time
.
ctime
(
time
.
time
()),
self
.
ip
,
%
(
'1.0'
,
time
.
ctime
(
time
.
time
()),
self
.
ip
,
self
.
port
,
self
.
socket_file
))
...
...
src/ZServer/WebDAVSrcHandler.py
View file @
a172bbeb
...
...
@@ -22,8 +22,6 @@ import posixpath
from
ZServer.HTTPServer
import
zhttp_handler
__version__
=
"1.0"
class
WebDAVSrcHandler
(
zhttp_handler
):
...
...
src/ZServer/medusa/__init__.py
View file @
a172bbeb
# Make medusa into a package
__version__
=
'$Revision: 1.9 $'
[
11
:
-
2
]
#
src/ZTUtils/Batch.py
View file @
a172bbeb
...
...
@@ -11,9 +11,8 @@
#
##############################################################################
"""Batch class, for iterating over a sequence in batches
$Id$
"""
from
ExtensionClass
import
Base
class
LazyPrevBatch
(
Base
):
...
...
src/ZTUtils/SimpleTree.py
View file @
a172bbeb
...
...
@@ -11,9 +11,8 @@
#
##############################################################################
"""Simple Tree classes
$Id$
"""
from
Tree
import
TreeMaker
,
TreeNode
,
b2a
from
cgi
import
escape
...
...
src/ZTUtils/Tree.py
View file @
a172bbeb
...
...
@@ -11,9 +11,8 @@
#
##############################################################################
"""Tree manipulation classes
$Id$
"""
from
Acquisition
import
Explicit
from
ComputedAttribute
import
ComputedAttribute
from
types
import
ListType
,
TupleType
...
...
src/ZTUtils/Zope.py
View file @
a172bbeb
...
...
@@ -11,9 +11,8 @@
#
##############################################################################
"""Zope-specific versions of ZTUTils classes
$Id$
"""
import
cgi
import
sys
import
urllib
...
...
@@ -36,7 +35,7 @@ except ImportError:
v
=
object
[
index
]
if
getSecurityManager
().
validate
(
object
,
object
,
index
,
v
):
return
v
raise
Unauthorized
,
'unauthorized access to element %s'
%
`i`
raise
Unauthorized
,
'unauthorized access to element %s'
%
index
else
:
from
AccessControl.unauthorized
import
Unauthorized
...
...
src/ZTUtils/__init__.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Package of template utility classes and functions.
$Id$
"""
from
Tree
import
encodeExpansion
,
decodeExpansion
,
a2b
,
b2a
...
...
src/Zope2/Startup/misc/TextBlockFormatter.py
View file @
a172bbeb
...
...
@@ -11,10 +11,7 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
"""
Revision information:
$Id$
"""
import
string
,
math
def
format
(
text
,
max_width
=
80
,
indent
=
0
,
trailing_lines_indent_more
=
0
):
...
...
src/Zope2/Startup/misc/zpasswd.py
View file @
a172bbeb
...
...
@@ -13,8 +13,6 @@
##############################################################################
"""Zope user bootstrap system"""
__version__
=
'$Revision: 1.5 $ '
[
11
:
-
2
]
import
sys
,
sha
,
binascii
,
random
,
getopt
,
getpass
,
os
try
:
...
...
src/Zope2/utilities/check_catalog.py
View file @
a172bbeb
...
...
@@ -11,9 +11,8 @@
#
##############################################################################
"""Script to check consistency of a ZCatalog
$Id$
"""
import
Zope2
import
os
,
sys
,
re
,
getopt
from
types
import
IntType
...
...
src/Zope2/utilities/reindex_catalog.py
View file @
a172bbeb
...
...
@@ -21,8 +21,6 @@ Usage:
Use --help to get a list of all options.
Author: Andreas Jung (andreas@andreas-jung.com)
$Id$
"""
import
sys
...
...
src/Zope2/utilities/requestprofiler.py
View file @
a172bbeb
...
...
@@ -11,9 +11,8 @@
#
##############################################################################
"""Request log profiler script
$Id$
"""
import
sys
,
time
,
getopt
,
math
,
cPickle
from
types
import
StringType
try
:
import
gzip
...
...
src/Zope2/utilities/tracelog.py
View file @
a172bbeb
...
...
@@ -12,10 +12,6 @@
#
##############################################################################
"""Yet another lag analysis tool
$Id$
"""
import
datetime
,
optparse
,
sys
...
...
src/webdav/Collection.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""WebDAV support - collection objects.
$Id$
"""
from
urllib
import
unquote
...
...
src/webdav/EtagSupport.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""Etag support.
$Id$
"""
import
time
...
...
src/webdav/LockItem.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""WebDAV support - lock item.
$Id$
"""
import
time
...
...
src/webdav/Lockable.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""WebDAV support - lockable item.
$Id$
"""
from
AccessControl.class_init
import
InitializeClass
...
...
src/webdav/NullResource.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""WebDAV support - null resource objects.
$Id$
"""
import
sys
...
...
src/webdav/Resource.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""WebDAV support - resource objects.
$Id$
"""
import
mimetypes
...
...
src/webdav/__init__.py
View file @
a172bbeb
...
...
@@ -35,7 +35,5 @@
Jensen, "HTTP Extensions for Distributed Authoring - WebDAV." RFC 2518.
Microsoft, U.C. Irvine, Netscape, Novell. February, 1999."""
__version__
=
'$Revision: 1.7 $'
[
11
:
-
2
]
enable_ms_author_via
=
False
enable_ms_public_header
=
False
src/webdav/client.py
View file @
a172bbeb
"""HTTP 1.1 / WebDAV client library."""
__version__
=
'$Revision: 1.22 $'
[
11
:
-
2
]
import
sys
,
os
,
time
,
types
,
re
import
httplib
,
mimetools
from
types
import
FileType
...
...
@@ -75,7 +73,7 @@ class Resource:
def
__get_headers
(
self
,
kw
=
{}):
headers
=
{}
headers
=
self
.
__set_authtoken
(
headers
)
headers
[
'User-Agent'
]
=
'WebDAV.client
%s'
%
__version__
headers
[
'User-Agent'
]
=
'WebDAV.client
'
headers
[
'Host'
]
=
self
.
host
headers
[
'Connection'
]
=
'close'
headers
[
'Accept'
]
=
'*/*'
...
...
src/webdav/common.py
View file @
a172bbeb
...
...
@@ -10,11 +10,8 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
"""Commonly used functions for WebDAV support modules."""
__version__
=
'$Revision: 1.18 $'
[
11
:
-
2
]
import
random
import
re
import
time
...
...
src/webdav/davcmds.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""WebDAV xml request objects.
$Id$
"""
import
sys
...
...
src/webdav/interfaces.py
View file @
a172bbeb
...
...
@@ -11,8 +11,6 @@
#
##############################################################################
"""webdav z3 interfaces.
$Id$
"""
from
zope.interface
import
Interface
...
...
src/webdav/xmltools.py
View file @
a172bbeb
...
...
@@ -14,7 +14,6 @@
WebDAV XML request parsing tool using xml.minidom as xml parser.
Code contributed by Simon Eisenmann, struktur AG, Stuttgart, Germany
"""
__version__
=
'$Revision: 1.15.2.1 $'
[
11
:
-
2
]
"""
TODO:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment