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
bdb3057e
Commit
bdb3057e
authored
Aug 14, 2002
by
Martijn Pieters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up indentation and trailing whitespace.
parent
f90d18e7
Changes
192
Show whitespace changes
Inline
Side-by-side
Showing
192 changed files
with
3218 additions
and
3377 deletions
+3218
-3377
lib/python/Globals.py
lib/python/Globals.py
+3
-3
lib/python/ImageFile.py
lib/python/ImageFile.py
+3
-3
lib/python/LOG.py
lib/python/LOG.py
+2
-2
lib/python/Main.py
lib/python/Main.py
+4
-4
lib/python/Products/ExternalMethod/ExternalMethod.py
lib/python/Products/ExternalMethod/ExternalMethod.py
+12
-12
lib/python/Products/ExternalMethod/__init__.py
lib/python/Products/ExternalMethod/__init__.py
+4
-4
lib/python/Products/ExternalMethod/help/ExternalMethod.py
lib/python/Products/ExternalMethod/help/ExternalMethod.py
+3
-5
lib/python/Products/ExternalMethod/tests/Extensions/Test.py
lib/python/Products/ExternalMethod/tests/Extensions/Test.py
+0
-4
lib/python/Products/ExternalMethod/tests/__init__.py
lib/python/Products/ExternalMethod/tests/__init__.py
+3
-4
lib/python/Products/ExternalMethod/tests/testExternalMethod.py
...ython/Products/ExternalMethod/tests/testExternalMethod.py
+6
-6
lib/python/Products/MIMETools/MIMETag.py
lib/python/Products/MIMETools/MIMETag.py
+7
-12
lib/python/Products/MIMETools/__init__.py
lib/python/Products/MIMETools/__init__.py
+4
-9
lib/python/Products/MailHost/MailHost.py
lib/python/Products/MailHost/MailHost.py
+10
-10
lib/python/Products/MailHost/SendMailTag.py
lib/python/Products/MailHost/SendMailTag.py
+4
-4
lib/python/Products/MailHost/__init__.py
lib/python/Products/MailHost/__init__.py
+4
-4
lib/python/Products/MailHost/help/MailHost.py
lib/python/Products/MailHost/help/MailHost.py
+5
-8
lib/python/Products/MailHost/tests/testMailHost.py
lib/python/Products/MailHost/tests/testMailHost.py
+1
-2
lib/python/Products/OFSP/Draft.py
lib/python/Products/OFSP/Draft.py
+11
-11
lib/python/Products/OFSP/Session.py
lib/python/Products/OFSP/Session.py
+2
-2
lib/python/Products/OFSP/Version.py
lib/python/Products/OFSP/Version.py
+13
-14
lib/python/Products/OFSP/__init__.py
lib/python/Products/OFSP/__init__.py
+6
-6
lib/python/Products/OFSP/help/AccessControl.py
lib/python/Products/OFSP/help/AccessControl.py
+5
-5
lib/python/Products/OFSP/help/AuthenticatedUser.py
lib/python/Products/OFSP/help/AuthenticatedUser.py
+3
-4
lib/python/Products/OFSP/help/DTMLDocument.py
lib/python/Products/OFSP/help/DTMLDocument.py
+10
-12
lib/python/Products/OFSP/help/DTMLMethod.py
lib/python/Products/OFSP/help/DTMLMethod.py
+11
-11
lib/python/Products/OFSP/help/DateTime.py
lib/python/Products/OFSP/help/DateTime.py
+19
-34
lib/python/Products/OFSP/help/File.py
lib/python/Products/OFSP/help/File.py
+8
-10
lib/python/Products/OFSP/help/Folder.py
lib/python/Products/OFSP/help/Folder.py
+3
-14
lib/python/Products/OFSP/help/Image.py
lib/python/Products/OFSP/help/Image.py
+5
-12
lib/python/Products/OFSP/help/ObjectManager.py
lib/python/Products/OFSP/help/ObjectManager.py
+17
-17
lib/python/Products/OFSP/help/ObjectManagerItem.py
lib/python/Products/OFSP/help/ObjectManagerItem.py
+15
-15
lib/python/Products/OFSP/help/PropertyManager.py
lib/python/Products/OFSP/help/PropertyManager.py
+11
-12
lib/python/Products/OFSP/help/PropertySheet.py
lib/python/Products/OFSP/help/PropertySheet.py
+32
-39
lib/python/Products/OFSP/help/PropertySheets.py
lib/python/Products/OFSP/help/PropertySheets.py
+5
-6
lib/python/Products/OFSP/help/Request.py
lib/python/Products/OFSP/help/Request.py
+9
-11
lib/python/Products/OFSP/help/Response.py
lib/python/Products/OFSP/help/Response.py
+20
-21
lib/python/Products/OFSP/help/math.py
lib/python/Products/OFSP/help/math.py
+0
-4
lib/python/Products/OFSP/help/random.py
lib/python/Products/OFSP/help/random.py
+0
-2
lib/python/Products/OFSP/help/sequence.py
lib/python/Products/OFSP/help/sequence.py
+6
-10
lib/python/Products/OFSP/help/string.py
lib/python/Products/OFSP/help/string.py
+0
-5
lib/python/Products/PageTemplates/Expressions.py
lib/python/Products/PageTemplates/Expressions.py
+9
-9
lib/python/Products/PageTemplates/PageTemplate.py
lib/python/Products/PageTemplates/PageTemplate.py
+7
-8
lib/python/Products/PageTemplates/PageTemplateFile.py
lib/python/Products/PageTemplates/PageTemplateFile.py
+4
-4
lib/python/Products/PageTemplates/PathIterator.py
lib/python/Products/PageTemplates/PathIterator.py
+3
-3
lib/python/Products/PageTemplates/PythonExpr.py
lib/python/Products/PageTemplates/PythonExpr.py
+4
-5
lib/python/Products/PageTemplates/TALES.py
lib/python/Products/PageTemplates/TALES.py
+4
-5
lib/python/Products/PageTemplates/ZPythonExpr.py
lib/python/Products/PageTemplates/ZPythonExpr.py
+3
-3
lib/python/Products/PageTemplates/ZRPythonExpr.py
lib/python/Products/PageTemplates/ZRPythonExpr.py
+5
-5
lib/python/Products/PageTemplates/ZopePageTemplate.py
lib/python/Products/PageTemplates/ZopePageTemplate.py
+11
-12
lib/python/Products/PageTemplates/__init__.py
lib/python/Products/PageTemplates/__init__.py
+3
-3
lib/python/Products/PageTemplates/help/ZTUtils.py
lib/python/Products/PageTemplates/help/ZTUtils.py
+3
-3
lib/python/Products/PageTemplates/tests/__init__.py
lib/python/Products/PageTemplates/tests/__init__.py
+1
-2
lib/python/Products/PageTemplates/tests/batch.py
lib/python/Products/PageTemplates/tests/batch.py
+3
-3
lib/python/Products/PageTemplates/tests/testDTMLTests.py
lib/python/Products/PageTemplates/tests/testDTMLTests.py
+91
-92
lib/python/Products/PageTemplates/tests/testExpressions.py
lib/python/Products/PageTemplates/tests/testExpressions.py
+1
-1
lib/python/Products/PageTemplates/tests/testHTMLTests.py
lib/python/Products/PageTemplates/tests/testHTMLTests.py
+82
-83
lib/python/Products/PageTemplates/tests/testTALES.py
lib/python/Products/PageTemplates/tests/testTALES.py
+2
-2
lib/python/Products/PageTemplates/tests/util.py
lib/python/Products/PageTemplates/tests/util.py
+5
-5
lib/python/Products/PluginIndexes/DateIndex/DateIndex.py
lib/python/Products/PluginIndexes/DateIndex/DateIndex.py
+6
-7
lib/python/Products/PluginIndexes/DateIndex/tests/test_DateIndex.py
.../Products/PluginIndexes/DateIndex/tests/test_DateIndex.py
+5
-5
lib/python/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py
...n/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py
+10
-10
lib/python/Products/PluginIndexes/DateRangeIndex/tests/test_DateRangeIndex.py
...PluginIndexes/DateRangeIndex/tests/test_DateRangeIndex.py
+4
-4
lib/python/Products/PluginIndexes/FieldIndex/FieldIndex.py
lib/python/Products/PluginIndexes/FieldIndex/FieldIndex.py
+5
-6
lib/python/Products/PluginIndexes/FieldIndex/tests/testFieldIndex.py
...Products/PluginIndexes/FieldIndex/tests/testFieldIndex.py
+10
-10
lib/python/Products/PluginIndexes/KeywordIndex/KeywordIndex.py
...ython/Products/PluginIndexes/KeywordIndex/KeywordIndex.py
+8
-9
lib/python/Products/PluginIndexes/KeywordIndex/tests/testKeywordIndex.py
...ucts/PluginIndexes/KeywordIndex/tests/testKeywordIndex.py
+8
-8
lib/python/Products/PluginIndexes/PathIndex/PathIndex.py
lib/python/Products/PluginIndexes/PathIndex/PathIndex.py
+37
-37
lib/python/Products/PluginIndexes/PathIndex/tests/testPathIndex.py
...n/Products/PluginIndexes/PathIndex/tests/testPathIndex.py
+9
-9
lib/python/Products/PluginIndexes/TextIndex/GlobbingLexicon.py
...ython/Products/PluginIndexes/TextIndex/GlobbingLexicon.py
+12
-13
lib/python/Products/PluginIndexes/TextIndex/Lexicon.py
lib/python/Products/PluginIndexes/TextIndex/Lexicon.py
+13
-14
lib/python/Products/PluginIndexes/TextIndex/Splitter/UnicodeSplitter/tests/testUnicodeSplitter.py
...dex/Splitter/UnicodeSplitter/tests/testUnicodeSplitter.py
+6
-6
lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter/__init__.py
...PluginIndexes/TextIndex/Splitter/ZopeSplitter/__init__.py
+1
-1
lib/python/Products/PluginIndexes/TextIndex/Splitter/__init__.py
...hon/Products/PluginIndexes/TextIndex/Splitter/__init__.py
+3
-6
lib/python/Products/PluginIndexes/TextIndex/Splitter/setup.py
...python/Products/PluginIndexes/TextIndex/Splitter/setup.py
+3
-3
lib/python/Products/PluginIndexes/TextIndex/TextIndex.py
lib/python/Products/PluginIndexes/TextIndex/TextIndex.py
+38
-39
lib/python/Products/PluginIndexes/TextIndex/Vocabulary.py
lib/python/Products/PluginIndexes/TextIndex/Vocabulary.py
+8
-9
lib/python/Products/PluginIndexes/TextIndex/tests/testSplitter.py
...on/Products/PluginIndexes/TextIndex/tests/testSplitter.py
+13
-13
lib/python/Products/PluginIndexes/TextIndex/tests/testTextIndex.py
...n/Products/PluginIndexes/TextIndex/tests/testTextIndex.py
+248
-249
lib/python/Products/PluginIndexes/TopicIndex/FilteredSet.py
lib/python/Products/PluginIndexes/TopicIndex/FilteredSet.py
+7
-7
lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py
lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py
+20
-20
lib/python/Products/PluginIndexes/TopicIndex/__init__.py
lib/python/Products/PluginIndexes/TopicIndex/__init__.py
+2
-3
lib/python/Products/PluginIndexes/TopicIndex/tests/testTopicIndex.py
...Products/PluginIndexes/TopicIndex/tests/testTopicIndex.py
+10
-11
lib/python/Products/PluginIndexes/__init__.py
lib/python/Products/PluginIndexes/__init__.py
+4
-4
lib/python/Products/PluginIndexes/common/PluggableIndex.py
lib/python/Products/PluginIndexes/common/PluggableIndex.py
+4
-5
lib/python/Products/PluginIndexes/common/ResultList.py
lib/python/Products/PluginIndexes/common/ResultList.py
+7
-8
lib/python/Products/PluginIndexes/common/UnIndex.py
lib/python/Products/PluginIndexes/common/UnIndex.py
+19
-20
lib/python/Products/PluginIndexes/common/randid.py
lib/python/Products/PluginIndexes/common/randid.py
+2
-2
lib/python/Products/PluginIndexes/common/util.py
lib/python/Products/PluginIndexes/common/util.py
+12
-12
lib/python/Products/__init__.py
lib/python/Products/__init__.py
+2
-2
lib/python/StructuredText/ClassicDocumentClass.py
lib/python/StructuredText/ClassicDocumentClass.py
+199
-199
lib/python/StructuredText/ClassicStructuredText.py
lib/python/StructuredText/ClassicStructuredText.py
+29
-29
lib/python/StructuredText/DocBookClass.py
lib/python/StructuredText/DocBookClass.py
+210
-212
lib/python/StructuredText/DocumentClass.py
lib/python/StructuredText/DocumentClass.py
+251
-252
lib/python/StructuredText/DocumentWithImages.py
lib/python/StructuredText/DocumentWithImages.py
+14
-15
lib/python/StructuredText/HTMLClass.py
lib/python/StructuredText/HTMLClass.py
+13
-13
lib/python/StructuredText/HTMLWithImages.py
lib/python/StructuredText/HTMLWithImages.py
+8
-9
lib/python/StructuredText/ST.py
lib/python/StructuredText/ST.py
+29
-29
lib/python/StructuredText/STDOM.py
lib/python/StructuredText/STDOM.py
+575
-575
lib/python/StructuredText/STletters.py
lib/python/StructuredText/STletters.py
+0
-1
lib/python/StructuredText/StructuredText.py
lib/python/StructuredText/StructuredText.py
+7
-8
lib/python/StructuredText/Zwiki.py
lib/python/StructuredText/Zwiki.py
+51
-51
lib/python/StructuredText/__init__.py
lib/python/StructuredText/__init__.py
+3
-5
lib/python/StructuredText/regressions/create_referencesfiles.py
...thon/StructuredText/regressions/create_referencesfiles.py
+2
-3
lib/python/StructuredText/tests/testStructuredText.py
lib/python/StructuredText/tests/testStructuredText.py
+10
-10
lib/python/TAL/DummyEngine.py
lib/python/TAL/DummyEngine.py
+2
-2
lib/python/TAL/HTMLTALParser.py
lib/python/TAL/HTMLTALParser.py
+2
-2
lib/python/TAL/TALDefs.py
lib/python/TAL/TALDefs.py
+2
-2
lib/python/TAL/TALGenerator.py
lib/python/TAL/TALGenerator.py
+4
-4
lib/python/TAL/TALInterpreter.py
lib/python/TAL/TALInterpreter.py
+3
-3
lib/python/TAL/TALParser.py
lib/python/TAL/TALParser.py
+2
-2
lib/python/TAL/XMLParser.py
lib/python/TAL/XMLParser.py
+3
-3
lib/python/TAL/__init__.py
lib/python/TAL/__init__.py
+2
-2
lib/python/TAL/driver.py
lib/python/TAL/driver.py
+2
-2
lib/python/TAL/markbench.py
lib/python/TAL/markbench.py
+1
-1
lib/python/TAL/runtest.py
lib/python/TAL/runtest.py
+4
-4
lib/python/TAL/setpath.py
lib/python/TAL/setpath.py
+1
-1
lib/python/TAL/tests/test_htmltalparser.py
lib/python/TAL/tests/test_htmltalparser.py
+2
-2
lib/python/TAL/timer.py
lib/python/TAL/timer.py
+2
-2
lib/python/Testing/ZODButil.py
lib/python/Testing/ZODButil.py
+0
-1
lib/python/Testing/__init__.py
lib/python/Testing/__init__.py
+3
-5
lib/python/Testing/common.py
lib/python/Testing/common.py
+1
-1
lib/python/Testing/dispatcher.py
lib/python/Testing/dispatcher.py
+54
-55
lib/python/Testing/makerequest.py
lib/python/Testing/makerequest.py
+3
-3
lib/python/TreeDisplay/TreeTag.py
lib/python/TreeDisplay/TreeTag.py
+20
-20
lib/python/TreeDisplay/__init__.py
lib/python/TreeDisplay/__init__.py
+2
-2
lib/python/ZClasses/Basic.py
lib/python/ZClasses/Basic.py
+12
-14
lib/python/ZClasses/Method.py
lib/python/ZClasses/Method.py
+14
-14
lib/python/ZClasses/ObjectManager.py
lib/python/ZClasses/ObjectManager.py
+3
-3
lib/python/ZClasses/Property.py
lib/python/ZClasses/Property.py
+20
-20
lib/python/ZClasses/ZClass.py
lib/python/ZClasses/ZClass.py
+48
-48
lib/python/ZClasses/ZClassOwner.py
lib/python/ZClasses/ZClassOwner.py
+3
-3
lib/python/ZClasses/__init__.py
lib/python/ZClasses/__init__.py
+7
-7
lib/python/ZLogger/FileLogger.py
lib/python/ZLogger/FileLogger.py
+1
-2
lib/python/ZLogger/ZLogger.py
lib/python/ZLogger/ZLogger.py
+0
-1
lib/python/ZLogger/__init__.py
lib/python/ZLogger/__init__.py
+2
-2
lib/python/ZLogger/stupidFileLogger.py
lib/python/ZLogger/stupidFileLogger.py
+3
-9
lib/python/ZLogger/syslog.py
lib/python/ZLogger/syslog.py
+42
-42
lib/python/ZLogger/syslogLogger.py
lib/python/ZLogger/syslogLogger.py
+2
-2
lib/python/ZLogger/test_logger.py
lib/python/ZLogger/test_logger.py
+4
-4
lib/python/ZPublisher/BaseRequest.py
lib/python/ZPublisher/BaseRequest.py
+21
-22
lib/python/ZPublisher/BaseResponse.py
lib/python/ZPublisher/BaseResponse.py
+15
-15
lib/python/ZPublisher/BeforeTraverse.py
lib/python/ZPublisher/BeforeTraverse.py
+4
-4
lib/python/ZPublisher/Client.py
lib/python/ZPublisher/Client.py
+21
-21
lib/python/ZPublisher/Converters.py
lib/python/ZPublisher/Converters.py
+6
-6
lib/python/ZPublisher/HTTPRangeSupport.py
lib/python/ZPublisher/HTTPRangeSupport.py
+6
-6
lib/python/ZPublisher/HTTPRequest.py
lib/python/ZPublisher/HTTPRequest.py
+74
-75
lib/python/ZPublisher/HTTPResponse.py
lib/python/ZPublisher/HTTPResponse.py
+25
-27
lib/python/ZPublisher/Publish.py
lib/python/ZPublisher/Publish.py
+29
-32
lib/python/ZPublisher/Request.py
lib/python/ZPublisher/Request.py
+2
-2
lib/python/ZPublisher/Response.py
lib/python/ZPublisher/Response.py
+2
-2
lib/python/ZPublisher/TaintedString.py
lib/python/ZPublisher/TaintedString.py
+4
-5
lib/python/ZPublisher/Test.py
lib/python/ZPublisher/Test.py
+13
-13
lib/python/ZPublisher/__init__.py
lib/python/ZPublisher/__init__.py
+3
-3
lib/python/ZPublisher/cgi_hotfix.py
lib/python/ZPublisher/cgi_hotfix.py
+1
-1
lib/python/ZPublisher/mapply.py
lib/python/ZPublisher/mapply.py
+4
-4
lib/python/ZPublisher/maybe_lock.py
lib/python/ZPublisher/maybe_lock.py
+3
-3
lib/python/ZPublisher/tests/testHTTPRangeSupport.py
lib/python/ZPublisher/tests/testHTTPRangeSupport.py
+8
-9
lib/python/ZPublisher/tests/testHTTPRequest.py
lib/python/ZPublisher/tests/testHTTPRequest.py
+15
-15
lib/python/ZPublisher/tests/testTaintedString.py
lib/python/ZPublisher/tests/testTaintedString.py
+5
-6
lib/python/ZPublisher/xmlrpc.py
lib/python/ZPublisher/xmlrpc.py
+10
-10
lib/python/ZTUtils/Batch.py
lib/python/ZTUtils/Batch.py
+8
-8
lib/python/ZTUtils/Iterator.py
lib/python/ZTUtils/Iterator.py
+6
-6
lib/python/ZTUtils/SimpleTree.py
lib/python/ZTUtils/SimpleTree.py
+5
-5
lib/python/ZTUtils/Tree.py
lib/python/ZTUtils/Tree.py
+9
-10
lib/python/ZTUtils/Zope.py
lib/python/ZTUtils/Zope.py
+13
-13
lib/python/ZTUtils/__init__.py
lib/python/ZTUtils/__init__.py
+4
-5
lib/python/ZTUtils/tests/testBatch.py
lib/python/ZTUtils/tests/testBatch.py
+1
-1
lib/python/ZTUtils/tests/testIterator.py
lib/python/ZTUtils/tests/testIterator.py
+1
-1
lib/python/Zope/ClassFactory.py
lib/python/Zope/ClassFactory.py
+2
-2
lib/python/Zope/__init__.py
lib/python/Zope/__init__.py
+9
-9
lib/python/dcdb.py
lib/python/dcdb.py
+2
-2
lib/python/ts_regex.py
lib/python/ts_regex.py
+4
-9
lib/python/webdav/Collection.py
lib/python/webdav/Collection.py
+6
-6
lib/python/webdav/EtagSupport.py
lib/python/webdav/EtagSupport.py
+5
-7
lib/python/webdav/LockItem.py
lib/python/webdav/LockItem.py
+5
-6
lib/python/webdav/Lockable.py
lib/python/webdav/Lockable.py
+4
-4
lib/python/webdav/NullResource.py
lib/python/webdav/NullResource.py
+9
-9
lib/python/webdav/Resource.py
lib/python/webdav/Resource.py
+14
-14
lib/python/webdav/WriteLockInterface.py
lib/python/webdav/WriteLockInterface.py
+6
-7
lib/python/webdav/__init__.py
lib/python/webdav/__init__.py
+10
-10
lib/python/webdav/client.py
lib/python/webdav/client.py
+14
-15
lib/python/webdav/common.py
lib/python/webdav/common.py
+3
-3
lib/python/webdav/davcmds.py
lib/python/webdav/davcmds.py
+13
-14
lib/python/webdav/xmltools.py
lib/python/webdav/xmltools.py
+14
-14
lib/python/zExceptions/ExceptionFormatter.py
lib/python/zExceptions/ExceptionFormatter.py
+5
-6
lib/python/zExceptions/ITracebackSupplement.py
lib/python/zExceptions/ITracebackSupplement.py
+3
-3
lib/python/zExceptions/__init__.py
lib/python/zExceptions/__init__.py
+3
-3
lib/python/zExceptions/tests/testExceptionFormatter.py
lib/python/zExceptions/tests/testExceptionFormatter.py
+3
-3
lib/python/zExceptions/unauthorized.py
lib/python/zExceptions/unauthorized.py
+8
-9
lib/python/zLOG/FormatException.py
lib/python/zLOG/FormatException.py
+3
-3
lib/python/zLOG/MinimalLogger.py
lib/python/zLOG/MinimalLogger.py
+8
-8
lib/python/zLOG/__init__.py
lib/python/zLOG/__init__.py
+7
-7
No files found.
lib/python/Globals.py
View file @
bdb3057e
...
...
@@ -13,7 +13,7 @@
"""Global definitions"""
__version__
=
'$Revision: 1.5
2
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.5
3
$'
[
11
:
-
2
]
# Global constants: __replaceable__ flags:
NOT_REPLACEABLE
=
0
...
...
lib/python/ImageFile.py
View file @
bdb3057e
...
...
@@ -12,7 +12,7 @@
##############################################################################
"""Image object that is stored in a file"""
__version__
=
'$Revision: 1.1
2
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
3
$'
[
11
:
-
2
]
############################################################
...
...
lib/python/LOG.py
View file @
bdb3057e
lib/python/Main.py
View file @
bdb3057e
lib/python/Products/ExternalMethod/ExternalMethod.py
View file @
bdb3057e
...
...
@@ -16,7 +16,7 @@
This product provides support for external methods, which allow
domain-specific customization of web environments.
"""
__version__
=
'$Revision: 1.5
0
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.5
1
$'
[
11
:
-
2
]
from
Globals
import
Persistent
,
DTMLFile
,
MessageDialog
,
HTML
import
OFS.SimpleItem
,
Acquisition
import
AccessControl.Role
,
sys
,
os
,
stat
,
traceback
...
...
lib/python/Products/ExternalMethod/__init__.py
View file @
bdb3057e
...
...
@@ -11,8 +11,8 @@
#
##############################################################################
__doc__
=
'''External Method Product Initialization
$Id: __init__.py,v 1.1
4 2001/11/28 15:50:59 matt
Exp $'''
__version__
=
'$Revision: 1.1
4
$'
[
11
:
-
2
]
$Id: __init__.py,v 1.1
5 2002/08/14 22:14:10 mj
Exp $'''
__version__
=
'$Revision: 1.1
5
$'
[
11
:
-
2
]
import
ExternalMethod
...
...
lib/python/Products/ExternalMethod/help/ExternalMethod.py
View file @
bdb3057e
...
...
@@ -98,5 +98,3 @@ class ExternalMethod:
first argument.
"""
lib/python/Products/ExternalMethod/tests/Extensions/Test.py
View file @
bdb3057e
from
math
import
sqrt
def
testf
(
arg1
,
sqrt
=
sqrt
):
return
sqrt
(
arg1
)
lib/python/Products/ExternalMethod/tests/__init__.py
View file @
bdb3057e
...
...
@@ -13,6 +13,5 @@
##############################################################################
"""
$Id: __init__.py,v 1.
3 2002/04/23 13:04:20 jim
Exp $
$Id: __init__.py,v 1.
4 2002/08/14 22:14:11 mj
Exp $
"""
lib/python/Products/ExternalMethod/tests/testExternalMethod.py
View file @
bdb3057e
...
...
@@ -14,7 +14,7 @@
"""
Revision information:
$Id: testExternalMethod.py,v 1.
4 2002/04/24 00:20:15 jim
Exp $
$Id: testExternalMethod.py,v 1.
5 2002/08/14 22:14:11 mj
Exp $
"""
import
math
,
os
...
...
lib/python/Products/MIMETools/MIMETag.py
View file @
bdb3057e
...
...
@@ -10,8 +10,8 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__rcs_id__
=
'$Id: MIMETag.py,v 1.
9 2002/03/11 15:54:38 andreasjung
Exp $'
__version__
=
'$Revision: 1.
9
$'
[
11
:
-
2
]
__rcs_id__
=
'$Id: MIMETag.py,v 1.
10 2002/08/14 22:14:27 mj
Exp $'
__version__
=
'$Revision: 1.
10
$'
[
11
:
-
2
]
from
DocumentTemplate.DT_Util
import
*
from
DocumentTemplate.DT_String
import
String
...
...
@@ -175,8 +175,3 @@ class MIMETag:
String
.
commands
[
'mime'
]
=
MIMETag
lib/python/Products/MIMETools/__init__.py
View file @
bdb3057e
...
...
@@ -11,12 +11,7 @@
#
##############################################################################
__doc__
=
'''MIMETools Product Initialization
$Id: __init__.py,v 1.
2 2001/11/28 15:50:59 matt
Exp $'''
__version__
=
'$Revision: 1.
2
$'
[
11
:
-
2
]
$Id: __init__.py,v 1.
3 2002/08/14 22:14:27 mj
Exp $'''
__version__
=
'$Revision: 1.
3
$'
[
11
:
-
2
]
import
MIMETag
lib/python/Products/MailHost/MailHost.py
View file @
bdb3057e
...
...
@@ -11,8 +11,8 @@
#
##############################################################################
"""SMTP mail objects
$Id: MailHost.py,v 1.7
3 2002/08/12 21:50:31 jens
Exp $"""
__version__
=
"$Revision: 1.7
3
$"
[
11
:
-
2
]
$Id: MailHost.py,v 1.7
4 2002/08/14 22:14:51 mj
Exp $"""
__version__
=
"$Revision: 1.7
4
$"
[
11
:
-
2
]
from
Globals
import
Persistent
,
DTMLFile
,
InitializeClass
from
smtplib
import
SMTP
...
...
lib/python/Products/MailHost/SendMailTag.py
View file @
bdb3057e
...
...
@@ -10,8 +10,8 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__rcs_id__
=
'$Id: SendMailTag.py,v 1.1
6 2002/03/11 15:54:38 andreasjung
Exp $'
__version__
=
'$Revision: 1.1
6
$'
[
11
:
-
2
]
__rcs_id__
=
'$Id: SendMailTag.py,v 1.1
7 2002/08/14 22:14:51 mj
Exp $'
__version__
=
'$Revision: 1.1
7
$'
[
11
:
-
2
]
from
MailHost
import
MailBase
from
DocumentTemplate.DT_Util
import
parse_params
,
render_blocks
...
...
lib/python/Products/MailHost/__init__.py
View file @
bdb3057e
...
...
@@ -11,8 +11,8 @@
#
##############################################################################
__doc__
=
'''MailHost Product Initialization
$Id: __init__.py,v 1.2
1 2001/11/28 15:50:59 matt
Exp $'''
__version__
=
'$Revision: 1.2
1
$'
[
11
:
-
2
]
$Id: __init__.py,v 1.2
2 2002/08/14 22:14:51 mj
Exp $'''
__version__
=
'$Revision: 1.2
2
$'
[
11
:
-
2
]
import
MailHost
import
SendMailTag
...
...
lib/python/Products/MailHost/help/MailHost.py
View file @
bdb3057e
...
...
@@ -54,6 +54,3 @@ class MailHost:
are 'base64', 'quoted-printable' and 'uuencode'.
"""
lib/python/Products/MailHost/tests/testMailHost.py
View file @
bdb3057e
...
...
@@ -57,4 +57,3 @@ def main():
if
__name__
==
'__main__'
:
main
()
lib/python/Products/OFSP/Draft.py
View file @
bdb3057e
lib/python/Products/OFSP/Session.py
View file @
bdb3057e
lib/python/Products/OFSP/Version.py
View file @
bdb3057e
...
...
@@ -12,7 +12,7 @@
##############################################################################
"""Version object"""
__version__
=
'$Revision: 1.5
2
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.5
3
$'
[
11
:
-
2
]
import
Globals
,
time
from
AccessControl.Role
import
RoleManager
...
...
@@ -208,4 +208,3 @@ class Version(Persistent,Implicit,RoleManager,Item):
'version, because the version would no longer
\
n
'
'be accessable.<p>
\
n
'
%
(
v
,
v
,
v
))
lib/python/Products/OFSP/__init__.py
View file @
bdb3057e
...
...
@@ -11,8 +11,8 @@
#
##############################################################################
__doc__
=
'''Object system core
$Id: __init__.py,v 1.3
6 2001/11/28 15:51:00 matt
Exp $'''
__version__
=
'$Revision: 1.3
6
$'
[
11
:
-
2
]
$Id: __init__.py,v 1.3
7 2002/08/14 22:16:04 mj
Exp $'''
__version__
=
'$Revision: 1.3
7
$'
[
11
:
-
2
]
import
Version
,
OFS
.
Image
,
OFS
.
Folder
,
AccessControl
.
User
import
OFS.DTMLMethod
,
OFS
.
DTMLDocument
,
OFS
.
PropertySheets
...
...
lib/python/Products/OFSP/help/AccessControl.py
View file @
bdb3057e
lib/python/Products/OFSP/help/AuthenticatedUser.py
View file @
bdb3057e
...
...
@@ -68,4 +68,3 @@ class AuthenticatedUser:
Permission -- Always available
"""
lib/python/Products/OFSP/help/DTMLDocument.py
View file @
bdb3057e
...
...
@@ -133,5 +133,3 @@ class DTMLDocument:
"""
__constructor__
=
manage_addDocument
lib/python/Products/OFSP/help/DTMLMethod.py
View file @
bdb3057e
lib/python/Products/OFSP/help/DateTime.py
View file @
bdb3057e
...
...
@@ -739,18 +739,3 @@ class DateTime:
Permission -- Always available
"""
lib/python/Products/OFSP/help/File.py
View file @
bdb3057e
...
...
@@ -86,5 +86,3 @@ class File:
Permission -- 'View'
"""
lib/python/Products/OFSP/help/Folder.py
View file @
bdb3057e
...
...
@@ -36,14 +36,3 @@ class Folder:
)
__constructor__
=
manage_addFolder
lib/python/Products/OFSP/help/Image.py
View file @
bdb3057e
...
...
@@ -82,10 +82,3 @@ class Image:
Permission -- 'View'
"""
lib/python/Products/OFSP/help/ObjectManager.py
View file @
bdb3057e
lib/python/Products/OFSP/help/ObjectManagerItem.py
View file @
bdb3057e
lib/python/Products/OFSP/help/PropertyManager.py
View file @
bdb3057e
...
...
@@ -73,4 +73,3 @@ class PropertyManager:
Permission -- 'Access contents information'
"""
lib/python/Products/OFSP/help/PropertySheet.py
View file @
bdb3057e
...
...
@@ -216,10 +216,3 @@ class PropertySheet:
Permission -- 'Manage Properties'
"""
lib/python/Products/OFSP/help/PropertySheets.py
View file @
bdb3057e
...
...
@@ -61,4 +61,3 @@ class PropertySheets:
Permission -- Python only
"""
lib/python/Products/OFSP/help/Request.py
View file @
bdb3057e
...
...
@@ -214,5 +214,3 @@ class Request:
Permissions -- Always available
"""
lib/python/Products/OFSP/help/Response.py
View file @
bdb3057e
...
...
@@ -172,4 +172,3 @@ class Response:
Permission -- Always available
"""
lib/python/Products/OFSP/help/math.py
View file @
bdb3057e
...
...
@@ -13,7 +13,3 @@ math: Python 'math' module
module":http://www.python.org/doc/current/lib/module-math.html
documentation at Python.org
"""
lib/python/Products/OFSP/help/random.py
View file @
bdb3057e
...
...
@@ -14,5 +14,3 @@ random: Python 'random' module
module":http://www.python.org/doc/current/lib/module-random.html
documentation at Python.org
"""
lib/python/Products/OFSP/help/sequence.py
View file @
bdb3057e
...
...
@@ -77,7 +77,3 @@ def sort(seq, sort):
"Python cmp function":http://www.python.org/doc/lib/built-in-funcs.html
"""
lib/python/Products/OFSP/help/string.py
View file @
bdb3057e
...
...
@@ -13,8 +13,3 @@ string: Python 'string' module
module":http://www.python.org/doc/current/lib/module-string.html
documentation at Python.org
"""
lib/python/Products/PageTemplates/Expressions.py
View file @
bdb3057e
...
...
@@ -17,7 +17,7 @@ Page Template-specific implementation of TALES, with handlers
for Python expressions, string literals, and paths.
"""
__version__
=
'$Revision: 1.3
5
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.3
6
$'
[
11
:
-
2
]
import
re
,
sys
from
TALES
import
Engine
,
CompilerError
,
_valid_name
,
NAME_RE
,
\
...
...
lib/python/Products/PageTemplates/PageTemplate.py
View file @
bdb3057e
...
...
@@ -15,7 +15,7 @@
HTML- and XML-based template objects using TAL, TALES, and METAL.
"""
__version__
=
'$Revision: 1.2
4
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.2
5
$'
[
11
:
-
2
]
import
sys
...
...
@@ -203,4 +203,3 @@ class PageTemplateTracebackSupplement:
if
e
:
w
=
list
(
w
)
+
list
(
e
)
self
.
warnings
=
w
lib/python/Products/PageTemplates/PageTemplateFile.py
View file @
bdb3057e
...
...
@@ -15,7 +15,7 @@
Zope object encapsulating a Page Template from the filesystem.
"""
__version__
=
'$Revision: 1.1
8
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
9
$'
[
11
:
-
2
]
import
os
,
AccessControl
,
Acquisition
,
sys
from
Globals
import
package_home
,
DevelopmentMode
...
...
lib/python/Products/PageTemplates/PathIterator.py
View file @
bdb3057e
...
...
@@ -17,7 +17,7 @@ A TALES Iterator with the ability to use first() and last() on
subpaths of elements.
"""
__version__
=
'$Revision: 1.
3
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
4
$'
[
11
:
-
2
]
import
TALES
from
Expressions
import
restrictedTraverse
,
Undefs
,
getSecurityManager
...
...
lib/python/Products/PageTemplates/PythonExpr.py
View file @
bdb3057e
...
...
@@ -14,7 +14,7 @@
"""Generic Python Expression Handler
"""
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
8
$'
[
11
:
-
2
]
from
TALES
import
CompilerError
from
sys
import
exc_info
...
...
@@ -78,4 +78,3 @@ class ExprTypeProxy:
def
__call__
(
self
,
text
):
return
self
.
_handler
(
self
.
_name
,
text
,
self
.
_econtext
.
_engine
)(
self
.
_econtext
)
lib/python/Products/PageTemplates/TALES.py
View file @
bdb3057e
...
...
@@ -15,7 +15,7 @@
An implementation of a generic TALES engine
"""
__version__
=
'$Revision: 1.3
0
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.3
1
$'
[
11
:
-
2
]
import
re
,
sys
,
ZTUtils
from
MultiMapping
import
MultiMapping
...
...
@@ -282,4 +282,3 @@ class SimpleExpr:
return
self
.
_name
,
self
.
_expr
def
__repr__
(
self
):
return
'<SimpleExpr %s %s>'
%
(
self
.
_name
,
`self._expr`
)
lib/python/Products/PageTemplates/ZPythonExpr.py
View file @
bdb3057e
...
...
@@ -17,7 +17,7 @@ Handler for Python expressions, using the pre-Python 2.1 restriction
machinery from PythonScripts.
"""
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
8
$'
[
11
:
-
2
]
from
AccessControl
import
getSecurityManager
from
Products.PythonScripts.Guarded
import
_marker
,
\
...
...
lib/python/Products/PageTemplates/ZRPythonExpr.py
View file @
bdb3057e
...
...
@@ -16,7 +16,7 @@
Handler for Python expressions that uses the RestrictedPython package.
"""
__version__
=
'$Revision: 1.
9
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
10
$'
[
11
:
-
2
]
from
AccessControl
import
full_read_guard
,
full_write_guard
,
\
safe_builtins
,
getSecurityManager
...
...
lib/python/Products/PageTemplates/ZopePageTemplate.py
View file @
bdb3057e
...
...
@@ -15,7 +15,7 @@
Zope object encapsulating a Page Template.
"""
__version__
=
'$Revision: 1.4
1
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.4
2
$'
[
11
:
-
2
]
import
os
,
AccessControl
,
Acquisition
,
sys
from
types
import
StringType
...
...
@@ -368,4 +368,3 @@ def initialize(context):
)
context
.
registerHelp
()
context
.
registerHelpTitle
(
'Zope Help'
)
lib/python/Products/PageTemplates/__init__.py
View file @
bdb3057e
...
...
@@ -15,7 +15,7 @@ __doc__='''Package wrapper for Page Templates
This wrapper allows the Page Template modules to be segregated in a
separate package.
$Id: __init__.py,v 1.
3 2001/11/28 15:51:01 matt
Exp $'''
$Id: __init__.py,v 1.
4 2002/08/14 22:17:24 mj
Exp $'''
__version__
=
'$$'
[
11
:
-
2
]
...
...
lib/python/Products/PageTemplates/help/ZTUtils.py
View file @
bdb3057e
lib/python/Products/PageTemplates/tests/__init__.py
View file @
bdb3057e
...
...
@@ -34,4 +34,3 @@ class harness2(harness1):
assert
aargs
==
args
,
"Harness method arguments"
assert
akwargs
==
kwargs
,
"Harness method keyword args"
return
result
lib/python/Products/PageTemplates/tests/batch.py
View file @
bdb3057e
lib/python/Products/PageTemplates/tests/testDTMLTests.py
View file @
bdb3057e
...
...
@@ -140,4 +140,3 @@ def test_suite():
if
__name__
==
'__main__'
:
main
()
lib/python/Products/PageTemplates/tests/testExpressions.py
View file @
bdb3057e
lib/python/Products/PageTemplates/tests/testHTMLTests.py
View file @
bdb3057e
...
...
@@ -130,4 +130,3 @@ def test_suite():
if
__name__
==
'__main__'
:
main
()
lib/python/Products/PageTemplates/tests/testTALES.py
View file @
bdb3057e
lib/python/Products/PageTemplates/tests/util.py
View file @
bdb3057e
lib/python/Products/PluginIndexes/DateIndex/DateIndex.py
View file @
bdb3057e
...
...
@@ -11,7 +11,7 @@
#
##############################################################################
"""$Id: DateIndex.py,v 1.
6 2002/07/30 16:25:46 shane
Exp $
"""$Id: DateIndex.py,v 1.
7 2002/08/14 22:19:27 mj
Exp $
"""
from
DateTime.DateTime
import
DateTime
...
...
@@ -201,4 +201,3 @@ def manage_addDateIndex( self, id, REQUEST=None, RESPONSE=None, URL3=None):
"""Add a Date index"""
return
self
.
manage_addIndex
(
id
,
'DateIndex'
,
extra
=
None
,
\
REQUEST
=
REQUEST
,
RESPONSE
=
RESPONSE
,
URL1
=
URL3
)
lib/python/Products/PluginIndexes/DateIndex/tests/test_DateIndex.py
View file @
bdb3057e
lib/python/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py
View file @
bdb3057e
...
...
@@ -11,7 +11,7 @@
#
##############################################################################
"""$Id: DateRangeIndex.py,v 1.
3 2002/06/26 13:37:19 caseman
Exp $
"""$Id: DateRangeIndex.py,v 1.
4 2002/08/14 22:19:28 mj
Exp $
"""
from
Products.PluginIndexes
import
PluggableIndex
...
...
lib/python/Products/PluginIndexes/DateRangeIndex/tests/test_DateRangeIndex.py
View file @
bdb3057e
lib/python/Products/PluginIndexes/FieldIndex/FieldIndex.py
View file @
bdb3057e
...
...
@@ -13,7 +13,7 @@
"""Simple column indices
$Id: FieldIndex.py,v 1.
9 2002/06/20 20:00:34 jeremy
Exp $
$Id: FieldIndex.py,v 1.
10 2002/08/14 22:19:29 mj
Exp $
"""
from
Products.PluginIndexes
import
PluggableIndex
...
...
@@ -47,4 +47,3 @@ def manage_addFieldIndex(self, id, REQUEST=None, RESPONSE=None, URL3=None):
"""Add a field index"""
return
self
.
manage_addIndex
(
id
,
'FieldIndex'
,
extra
=
None
,
\
REQUEST
=
REQUEST
,
RESPONSE
=
RESPONSE
,
URL1
=
URL3
)
lib/python/Products/PluginIndexes/FieldIndex/tests/testFieldIndex.py
View file @
bdb3057e
lib/python/Products/PluginIndexes/KeywordIndex/KeywordIndex.py
View file @
bdb3057e
...
...
@@ -122,4 +122,3 @@ def manage_addKeywordIndex(self, id, REQUEST=None, RESPONSE=None, URL3=None):
"""Add a keyword index"""
return
self
.
manage_addIndex
(
id
,
'KeywordIndex'
,
extra
=
None
,
\
REQUEST
=
REQUEST
,
RESPONSE
=
RESPONSE
,
URL1
=
URL3
)
lib/python/Products/PluginIndexes/KeywordIndex/tests/testKeywordIndex.py
View file @
bdb3057e
lib/python/Products/PluginIndexes/PathIndex/PathIndex.py
View file @
bdb3057e
...
...
@@ -11,7 +11,7 @@
#
##############################################################################
__version__
=
'$Id: PathIndex.py,v 1.2
4 2002/06/20 20:07:20 jeremy
Exp $'
__version__
=
'$Id: PathIndex.py,v 1.2
5 2002/08/14 22:19:31 mj
Exp $'
from
Products.PluginIndexes
import
PluggableIndex
from
Products.PluginIndexes.common.util
import
parseIndexRequest
...
...
lib/python/Products/PluginIndexes/PathIndex/tests/testPathIndex.py
View file @
bdb3057e
lib/python/Products/PluginIndexes/TextIndex/GlobbingLexicon.py
View file @
bdb3057e
...
...
@@ -270,4 +270,3 @@ class GlobbingLexicon(Lexicon):
result
=
result
.
replace
(
'?'
,
'.'
)
return
"%s$"
%
result
lib/python/Products/PluginIndexes/TextIndex/Lexicon.py
View file @
bdb3057e
...
...
@@ -218,4 +218,3 @@ stop_words=(
)
stop_word_dict
=
{}
for
word
in
stop_words
:
stop_word_dict
[
word
]
=
None
lib/python/Products/PluginIndexes/TextIndex/Splitter/UnicodeSplitter/tests/testUnicodeSplitter.py
View file @
bdb3057e
lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter/__init__.py
View file @
bdb3057e
lib/python/Products/PluginIndexes/TextIndex/Splitter/__init__.py
View file @
bdb3057e
...
...
@@ -31,6 +31,3 @@ def getSplitter(name=None):
exec
(
"from %s.%s import %s"
%
(
name
,
name
,
name
))
return
vars
()[
name
]
lib/python/Products/PluginIndexes/TextIndex/Splitter/setup.py
View file @
bdb3057e
lib/python/Products/PluginIndexes/TextIndex/TextIndex.py
View file @
bdb3057e
...
...
@@ -14,7 +14,7 @@
"""Text Index
"""
__version__
=
'$Revision: 1.3
3
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.3
4
$'
[
11
:
-
2
]
import
re
...
...
@@ -767,4 +767,3 @@ manage_addTextIndexForm = DTMLFile('dtml/addTextIndex', globals())
def manage_addTextIndex(self, id, extra=None, REQUEST=None, RESPONSE=None, URL3=None):
"""Add a text index"""
return self.manage_addIndex(id, '
TextIndex
', extra, REQUEST, RESPONSE, URL3)
lib/python/Products/PluginIndexes/TextIndex/Vocabulary.py
View file @
bdb3057e
...
...
@@ -131,4 +131,3 @@ class Vocabulary(Item, Persistent, Implicit,
def
words
(
self
):
return
self
.
lexicon
.
_lexicon
.
items
()
lib/python/Products/PluginIndexes/TextIndex/tests/testSplitter.py
View file @
bdb3057e
lib/python/Products/PluginIndexes/TextIndex/tests/testTextIndex.py
View file @
bdb3057e
...
...
@@ -294,4 +294,3 @@ if __name__=='__main__':
globals
()[
sys
.
argv
[
1
]]()
else
:
main
()
lib/python/Products/PluginIndexes/TopicIndex/FilteredSet.py
View file @
bdb3057e
...
...
@@ -11,7 +11,7 @@
#
##############################################################################
__version__
=
'$Id: FilteredSet.py,v 1.
3 2002/03/11 14:53:05 andreasjung
Exp $'
__version__
=
'$Id: FilteredSet.py,v 1.
4 2002/08/14 22:19:34 mj
Exp $'
from
BTrees.IIBTree
import
IISet
from
Persistence
import
Persistent
...
...
lib/python/Products/PluginIndexes/TopicIndex/TopicIndex.py
View file @
bdb3057e
...
...
@@ -11,7 +11,7 @@
#
##############################################################################
__version__
=
'$Id: TopicIndex.py,v 1.
8 2002/04/25 12:44:02 andreasjung
Exp $'
__version__
=
'$Id: TopicIndex.py,v 1.
9 2002/08/14 22:19:34 mj
Exp $'
from
Products.PluginIndexes
import
PluggableIndex
from
Products.PluginIndexes.common.util
import
parseIndexRequest
...
...
lib/python/Products/PluginIndexes/TopicIndex/__init__.py
View file @
bdb3057e
...
...
@@ -10,4 +10,3 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
lib/python/Products/PluginIndexes/TopicIndex/tests/testTopicIndex.py
View file @
bdb3057e
...
...
@@ -143,4 +143,3 @@ def main():
if
__name__
==
'__main__'
:
main
()
lib/python/Products/PluginIndexes/__init__.py
View file @
bdb3057e
lib/python/Products/PluginIndexes/common/PluggableIndex.py
View file @
bdb3057e
...
...
@@ -12,7 +12,7 @@
##############################################################################
"""Pluggable Index Base Class """
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
import
Interface
...
...
@@ -67,4 +67,3 @@ class PluggableIndexInterface(Interface.Base):
records. The second object is a tuple containing the names of
all data fields used.
"""
lib/python/Products/PluginIndexes/common/ResultList.py
View file @
bdb3057e
...
...
@@ -92,4 +92,3 @@ class ResultList:
return
self
.
__class__
(
result
,
union
(
self
.
_words
,
x
.
_words
),
self
.
_index
)
lib/python/Products/PluginIndexes/common/UnIndex.py
View file @
bdb3057e
...
...
@@ -13,7 +13,7 @@
"""Simple column indices"""
__version__
=
'$Revision: 1.1
3
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
4
$'
[
11
:
-
2
]
from
Globals
import
Persistent
from
Acquisition
import
Implicit
...
...
@@ -425,4 +425,3 @@ class UnIndex(Persistent, Implicit, SimpleItem):
v
=
IISet
((
v
,))
items
.
append
((
k
,
v
))
return
items
lib/python/Products/PluginIndexes/common/randid.py
View file @
bdb3057e
lib/python/Products/PluginIndexes/common/util.py
View file @
bdb3057e
...
...
@@ -11,7 +11,7 @@
#
#############################################################################
__version__
=
'$Id: util.py,v 1.
9 2002/03/29 15:33:03 andreasjung
Exp $'
__version__
=
'$Id: util.py,v 1.
10 2002/08/14 22:19:34 mj
Exp $'
import
re
...
...
lib/python/Products/__init__.py
View file @
bdb3057e
lib/python/StructuredText/ClassicDocumentClass.py
View file @
bdb3057e
lib/python/StructuredText/ClassicStructuredText.py
View file @
bdb3057e
lib/python/StructuredText/DocBookClass.py
View file @
bdb3057e
...
...
@@ -254,5 +254,3 @@ class DocBookBook:
def
__str__
(
self
):
return
self
.
read
()
lib/python/StructuredText/DocumentClass.py
View file @
bdb3057e
...
...
@@ -945,4 +945,3 @@ class DocumentClass:
return (StructuredTextXref(s[start:end]), start-1, end+1)
else:
return None
lib/python/StructuredText/DocumentWithImages.py
View file @
bdb3057e
...
...
@@ -64,4 +64,3 @@ class DocumentWithImages(DocumentClass):
start, end)
return None
lib/python/StructuredText/HTMLClass.py
View file @
bdb3057e
lib/python/StructuredText/HTMLWithImages.py
View file @
bdb3057e
...
...
@@ -28,4 +28,3 @@ class HTMLWithImages(HTMLClass):
output
(
'<img src="%s" alt="%s">
\
n
'
%
(
doc
.
href
,
doc
.
getNodeValue
()))
if
doc
.
getNodeValue
()
and
hasattr
(
doc
,
'key'
):
output
(
'<p><b>Figure %s</b> %s</p>
\
n
'
%
(
doc
.
key
,
doc
.
getNodeValue
()))
lib/python/StructuredText/ST.py
View file @
bdb3057e
lib/python/StructuredText/STDOM.py
View file @
bdb3057e
lib/python/StructuredText/STletters.py
View file @
bdb3057e
...
...
@@ -14,4 +14,3 @@ dbl_quoted_punc = punc_func("\"")
strongem_punc
=
punc_func
(
'*'
)
under_punc
=
punc_func
(
'_<>'
)
phrase_delimiters
=
r'\
s
\.\
,
\?\
/
\!\
&
\(\
)
'
lib/python/StructuredText/StructuredText.py
View file @
bdb3057e
...
...
@@ -78,4 +78,3 @@ if __name__=='__main__':
for
f
in
args
:
print
HTML
(
open
(
f
).
read
())
lib/python/StructuredText/Zwiki.py
View file @
bdb3057e
lib/python/StructuredText/__init__.py
View file @
bdb3057e
...
...
@@ -37,5 +37,3 @@ DocBookBook=DocBookClass.DocBookBook()
DocBookChapter
=
DocBookClass
.
DocBookChapter
()
DocBookChapterWithFigures
=
DocBookClass
.
DocBookChapterWithFigures
()
DocBookArticle
=
DocBookClass
.
DocBookArticle
()
lib/python/StructuredText/regressions/create_referencesfiles.py
View file @
bdb3057e
...
...
@@ -30,4 +30,3 @@ for f in files:
outfile
=
f
.
replace
(
'.stx'
,
'.ref'
)
open
(
outfile
,
'w'
).
write
(
html
)
lib/python/StructuredText/tests/testStructuredText.py
View file @
bdb3057e
lib/python/TAL/DummyEngine.py
View file @
bdb3057e
lib/python/TAL/HTMLTALParser.py
View file @
bdb3057e
lib/python/TAL/TALDefs.py
View file @
bdb3057e
lib/python/TAL/TALGenerator.py
View file @
bdb3057e
lib/python/TAL/TALInterpreter.py
View file @
bdb3057e
lib/python/TAL/TALParser.py
View file @
bdb3057e
lib/python/TAL/XMLParser.py
View file @
bdb3057e
lib/python/TAL/__init__.py
View file @
bdb3057e
lib/python/TAL/driver.py
View file @
bdb3057e
lib/python/TAL/markbench.py
View file @
bdb3057e
lib/python/TAL/runtest.py
View file @
bdb3057e
lib/python/TAL/setpath.py
View file @
bdb3057e
lib/python/TAL/tests/test_htmltalparser.py
View file @
bdb3057e
lib/python/TAL/timer.py
View file @
bdb3057e
lib/python/Testing/ZODButil.py
View file @
bdb3057e
...
...
@@ -10,4 +10,3 @@ def makeDB():
def
cleanDB
():
for
fn
in
glob
(
'fs_tmp__*'
):
os
.
remove
(
fn
)
lib/python/Testing/__init__.py
View file @
bdb3057e
...
...
@@ -13,7 +13,7 @@
"""
Set up testing environment
$Id: __init__.py,v 1.
5 2002/01/11 17:07:32 shane
Exp $
$Id: __init__.py,v 1.
6 2002/08/14 22:01:39 mj
Exp $
"""
import
os
...
...
@@ -29,5 +29,3 @@ os.environ['SOFTWARE_HOME'] = SOFTWARE_HOME = pdir(INSTANCE_HOME)
# Note: we don't set os.environ['ZEO_CLIENT'] anymore because we
# really do need all the products to be initialized. Some tests
# use the product registry.
lib/python/Testing/common.py
View file @
bdb3057e
lib/python/Testing/dispatcher.py
View file @
bdb3057e
...
...
@@ -15,7 +15,7 @@
# Andreas Jung, andreas@digicool.com 03/24/2001
__version__
=
'$Id: dispatcher.py,v 1.
4 2001/11/28 15:51:17 matt
Exp $'
__version__
=
'$Id: dispatcher.py,v 1.
5 2002/08/14 22:01:39 mj
Exp $'
import
os
,
sys
,
re
,
string
...
...
@@ -189,4 +189,3 @@ if __name__=="__main__":
d
=
Dispatcher
()
print
d
.
getmem
()
pass
lib/python/Testing/makerequest.py
View file @
bdb3057e
...
...
@@ -19,7 +19,7 @@ Usage:
import makerequest
app = makerequest.makerequest(Zope.app())
$Id: makerequest.py,v 1.
4 2001/11/28 15:51:17 matt
Exp $
$Id: makerequest.py,v 1.
5 2002/08/14 22:01:39 mj
Exp $
"""
...
...
lib/python/TreeDisplay/TreeTag.py
View file @
bdb3057e
...
...
@@ -12,8 +12,8 @@
##############################################################################
"""Rendering object hierarchies as Trees
"""
__rcs_id__
=
'$Id: TreeTag.py,v 1.5
2 2002/05/21 14:41:41 andreasjung
Exp $'
__version__
=
'$Revision: 1.5
2
$'
[
11
:
-
2
]
__rcs_id__
=
'$Id: TreeTag.py,v 1.5
3 2002/08/14 22:02:25 mj
Exp $'
__version__
=
'$Revision: 1.5
3
$'
[
11
:
-
2
]
from
DocumentTemplate.DT_Util
import
*
from
DocumentTemplate.DT_String
import
String
...
...
lib/python/TreeDisplay/__init__.py
View file @
bdb3057e
lib/python/ZClasses/Basic.py
View file @
bdb3057e
...
...
@@ -210,5 +210,3 @@ class ZClassPermissionsSheet(OFS.PropertySheets.PropertySheet,
if
REQUEST
is
not
None
:
return
self
.
manage
(
self
,
REQUEST
,
manage_tabs_message
=
"Permissions updated"
)
lib/python/ZClasses/Method.py
View file @
bdb3057e
lib/python/ZClasses/ObjectManager.py
View file @
bdb3057e
lib/python/ZClasses/Property.py
View file @
bdb3057e
lib/python/ZClasses/ZClass.py
View file @
bdb3057e
lib/python/ZClasses/ZClassOwner.py
View file @
bdb3057e
lib/python/ZClasses/__init__.py
View file @
bdb3057e
...
...
@@ -14,8 +14,8 @@ needed by a product and to define product meta data.
This sample product publishes a folder-ish and a simple object.
$Id: __init__.py,v 1.
6 2000/11/01 22:59:34 tseaver
Exp $'''
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
$Id: __init__.py,v 1.
7 2002/08/14 22:03:39 mj
Exp $'''
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
import
ZClass
import
ZClassOwner
...
...
lib/python/ZLogger/FileLogger.py
View file @
bdb3057e
...
...
@@ -10,4 +10,3 @@ class FileLogger:
def
__call__
(
self
,
sub
,
sev
,
sum
,
det
,
err
):
print
'syslogger %s, %s, %s, %s, %s, %s'
%
(
self
,
sub
,
sev
,
sum
,
det
,
err
)
lib/python/ZLogger/ZLogger.py
View file @
bdb3057e
import
stupidFileLogger
import
syslogLogger
...
...
lib/python/ZLogger/__init__.py
View file @
bdb3057e
lib/python/ZLogger/stupidFileLogger.py
View file @
bdb3057e
...
...
@@ -109,9 +109,3 @@ def stupid_log_write(subsystem, severity, summary, detail, error):
except
:
_stupid_dest
.
write
(
"%s: %s
\
n
"
%
error
[:
2
])
_stupid_dest
.
flush
()
lib/python/ZLogger/syslog.py
View file @
bdb3057e
lib/python/ZLogger/syslogLogger.py
View file @
bdb3057e
lib/python/ZLogger/test_logger.py
View file @
bdb3057e
lib/python/ZPublisher/BaseRequest.py
View file @
bdb3057e
...
...
@@ -10,7 +10,7 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__version__
=
'$Revision: 1.4
8
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.4
9
$'
[
11
:
-
2
]
from
urllib
import
quote
...
...
@@ -488,4 +488,3 @@ def old_validation(groups, request, auth,
"""<strong>You are not authorized to access this resource"""
)
return
None
lib/python/ZPublisher/BaseResponse.py
View file @
bdb3057e
...
...
@@ -12,8 +12,8 @@
##############################################################################
'''CGI Response Output formatter
$Id: BaseResponse.py,v 1.1
5 2002/08/14 16:45:53 rdmurray
Exp $'''
__version__
=
'$Revision: 1.1
5
$'
[
11
:
-
2
]
$Id: BaseResponse.py,v 1.1
6 2002/08/14 22:09:40 mj
Exp $'''
__version__
=
'$Revision: 1.1
6
$'
[
11
:
-
2
]
import
types
,
sys
from
urllib
import
quote_plus
...
...
lib/python/ZPublisher/BeforeTraverse.py
View file @
bdb3057e
...
...
@@ -10,7 +10,7 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__version__
=
'$Revision: 1.
9
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
10
$'
[
11
:
-
2
]
"""BeforeTraverse interface and helper classes"""
...
...
lib/python/ZPublisher/Client.py
View file @
bdb3057e
...
...
@@ -31,7 +31,7 @@ that allows one to simply make a single web request.
The module also provides a command-line interface for calling objects.
"""
__version__
=
'$Revision: 1.4
4
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.4
5
$'
[
11
:
-
2
]
import
sys
,
re
,
socket
,
mimetools
from
httplib
import
HTTP
...
...
lib/python/ZPublisher/Converters.py
View file @
bdb3057e
...
...
@@ -10,7 +10,7 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__version__
=
'$Revision: 1.1
7
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
8
$'
[
11
:
-
2
]
import
re
from
types
import
ListType
,
TupleType
,
UnicodeType
...
...
lib/python/ZPublisher/HTTPRangeSupport.py
View file @
bdb3057e
...
...
@@ -19,7 +19,7 @@ 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.
6
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
import
re
,
sys
import
Interface
...
...
lib/python/ZPublisher/HTTPRequest.py
View file @
bdb3057e
...
...
@@ -11,7 +11,7 @@
#
##############################################################################
__version__
=
'$Revision: 1.7
8
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.7
9
$'
[
11
:
-
2
]
import
re
,
sys
,
os
,
urllib
,
time
,
random
,
cgi
,
codecs
from
BaseRequest
import
BaseRequest
...
...
@@ -1502,4 +1502,3 @@ RECORDS=8
REC
=
RECORD
|
RECORDS
EMPTY
=
16
CONVERTED
=
32
lib/python/ZPublisher/HTTPResponse.py
View file @
bdb3057e
...
...
@@ -12,8 +12,8 @@
##############################################################################
'''CGI Response Output formatter
$Id: HTTPResponse.py,v 1.6
7 2002/08/14 16:45:53 rdmurray
Exp $'''
__version__
=
'$Revision: 1.6
7
$'
[
11
:
-
2
]
$Id: HTTPResponse.py,v 1.6
8 2002/08/14 22:09:40 mj
Exp $'''
__version__
=
'$Revision: 1.6
8
$'
[
11
:
-
2
]
import
types
,
os
,
sys
,
re
import
zlib
,
struct
...
...
@@ -838,5 +838,3 @@ class HTTPResponse(BaseResponse):
self.stdout.flush()
self.stdout.write(data)
lib/python/ZPublisher/Publish.py
View file @
bdb3057e
...
...
@@ -12,8 +12,8 @@
##############################################################################
__doc__
=
"""Python Object Publisher -- Publish Python objects on web servers
$Id: Publish.py,v 1.15
6 2002/04/15 20:58:28 Brian
Exp $"""
__version__
=
'$Revision: 1.15
6
$'
[
11
:
-
2
]
$Id: Publish.py,v 1.15
7 2002/08/14 22:09:40 mj
Exp $"""
__version__
=
'$Revision: 1.15
7
$'
[
11
:
-
2
]
import
sys
,
os
from
Response
import
Response
...
...
@@ -351,6 +351,3 @@ if os.environ.get('PROFILE_PUBLISHER', None):
except
:
pass
raise
error
[
0
],
error
[
1
],
error
[
2
]
return
result
lib/python/ZPublisher/Request.py
View file @
bdb3057e
lib/python/ZPublisher/Response.py
View file @
bdb3057e
lib/python/ZPublisher/TaintedString.py
View file @
bdb3057e
...
...
@@ -11,7 +11,7 @@
#
##############################################################################
__version__
=
'$Revision: 1.
1
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
2
$'
[
11
:
-
2
]
from
cgi
import
escape
...
...
@@ -141,4 +141,3 @@ for f in simpleWrappedMethods:
for
f
in
oneArgWrappedMethods
:
setattr
(
TaintedString
,
f
,
createOneArgWrapper
(
f
))
lib/python/ZPublisher/Test.py
View file @
bdb3057e
...
...
@@ -90,9 +90,9 @@ Examples
s
$Id: Test.py,v 1.
39 2002/01/02 15:56:04 andreasjung
Exp $
$Id: Test.py,v 1.
40 2002/08/14 22:09:40 mj
Exp $
'''
__version__
=
'$Revision: 1.
39
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
40
$'
[
11
:
-
2
]
import
sys
,
traceback
,
profile
,
os
,
getopt
from
time
import
clock
...
...
lib/python/ZPublisher/__init__.py
View file @
bdb3057e
...
...
@@ -10,7 +10,7 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__version__
=
'$Revision: 1.1
1
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
2
$'
[
11
:
-
2
]
# This allows ZPublisher to work with embedded interpreters
...
...
lib/python/ZPublisher/cgi_hotfix.py
View file @
bdb3057e
lib/python/ZPublisher/mapply.py
View file @
bdb3057e
lib/python/ZPublisher/maybe_lock.py
View file @
bdb3057e
...
...
@@ -10,7 +10,7 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__version__
=
'$Revision: 1.
3
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
4
$'
[
11
:
-
2
]
# Waaaa, I wish I didn't have to work this hard.
try
:
from
thread
import
allocate_lock
...
...
lib/python/ZPublisher/tests/testHTTPRangeSupport.py
View file @
bdb3057e
...
...
@@ -142,4 +142,3 @@ if __name__=='__main__':
globals
()[
sys
.
argv
[
1
]]()
else
:
main
()
lib/python/ZPublisher/tests/testHTTPRequest.py
View file @
bdb3057e
lib/python/ZPublisher/tests/testTaintedString.py
View file @
bdb3057e
...
...
@@ -164,4 +164,3 @@ if __name__=='__main__':
globals
()[
sys
.
argv
[
1
]]()
else
:
main
()
lib/python/ZPublisher/xmlrpc.py
View file @
bdb3057e
lib/python/ZTUtils/Batch.py
View file @
bdb3057e
...
...
@@ -12,8 +12,8 @@
##############################################################################
__doc__
=
'''Batch class, for iterating over a sequence in batches
$Id: Batch.py,v 1.
9 2002/03/15 21:47:38 evan
Exp $'''
__version__
=
'$Revision: 1.
9
$'
[
11
:
-
2
]
$Id: Batch.py,v 1.
10 2002/08/14 22:10:12 mj
Exp $'''
__version__
=
'$Revision: 1.
10
$'
[
11
:
-
2
]
from
ExtensionClass
import
Base
...
...
lib/python/ZTUtils/Iterator.py
View file @
bdb3057e
...
...
@@ -18,8 +18,8 @@ The Iterator() function accepts either a sequence or a Python
iterator. The next() method fetches the next item, and returns
true if it succeeds.
$Id: Iterator.py,v 1.
6 2002/04/19 14:16:08 andreasjung
Exp $'''
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
$Id: Iterator.py,v 1.
7 2002/08/14 22:10:12 mj
Exp $'''
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
class
Iterator
:
'''Simple Iterator class'''
...
...
lib/python/ZTUtils/SimpleTree.py
View file @
bdb3057e
...
...
@@ -12,8 +12,8 @@
##############################################################################
__doc__
=
'''Simple Tree classes
$Id: SimpleTree.py,v 1.
2 2001/11/28 15:51:22 matt
Exp $'''
__version__
=
'$Revision: 1.
2
$'
[
11
:
-
2
]
$Id: SimpleTree.py,v 1.
3 2002/08/14 22:10:12 mj
Exp $'''
__version__
=
'$Revision: 1.
3
$'
[
11
:
-
2
]
from
Tree
import
TreeMaker
,
TreeNode
,
b2a
...
...
lib/python/ZTUtils/Tree.py
View file @
bdb3057e
...
...
@@ -12,8 +12,8 @@
##############################################################################
__doc__
=
'''Tree manipulation classes
$Id: Tree.py,v 1.
5 2002/04/19 14:16:08 andreasjung
Exp $'''
__version__
=
'$Revision: 1.
5
$'
[
11
:
-
2
]
$Id: Tree.py,v 1.
6 2002/08/14 22:10:12 mj
Exp $'''
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
from
Acquisition
import
Explicit
from
ComputedAttribute
import
ComputedAttribute
...
...
@@ -236,4 +236,3 @@ def decodeExpansion(s, nth=None):
if
nth_pair
is
not
None
:
return
map
,
nth_pair
return
map
lib/python/ZTUtils/Zope.py
View file @
bdb3057e
...
...
@@ -12,8 +12,8 @@
##############################################################################
__doc__
=
'''Zope-specific versions of ZTUTils classes
$Id: Zope.py,v 1.
9 2002/04/19 14:16:08 andreasjung
Exp $'''
__version__
=
'$Revision: 1.
9
$'
[
11
:
-
2
]
$Id: Zope.py,v 1.
10 2002/08/14 22:10:12 mj
Exp $'''
__version__
=
'$Revision: 1.
10
$'
[
11
:
-
2
]
import
sys
,
cgi
,
urllib
,
cgi
from
Tree
import
encodeExpansion
,
decodeExpansion
,
TreeMaker
...
...
lib/python/ZTUtils/__init__.py
View file @
bdb3057e
...
...
@@ -12,8 +12,8 @@
##############################################################################
__doc__
=
'''Package of template utility classes and functions.
$Id: __init__.py,v 1.
5 2001/11/28 15:51:22 matt
Exp $'''
__version__
=
'$Revision: 1.
5
$'
[
11
:
-
2
]
$Id: __init__.py,v 1.
6 2002/08/14 22:10:12 mj
Exp $'''
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
from
Batch
import
Batch
from
Iterator
import
Iterator
...
...
@@ -28,4 +28,3 @@ if sys.modules.has_key('Zope'):
from
Zope
import
Batch
,
TreeMaker
,
SimpleTreeMaker
,
LazyFilter
from
Zope
import
url_query
,
make_query
,
make_hidden_input
lib/python/ZTUtils/tests/testBatch.py
View file @
bdb3057e
lib/python/ZTUtils/tests/testIterator.py
View file @
bdb3057e
lib/python/Zope/ClassFactory.py
View file @
bdb3057e
lib/python/Zope/__init__.py
View file @
bdb3057e
lib/python/dcdb.py
View file @
bdb3057e
lib/python/ts_regex.py
View file @
bdb3057e
...
...
@@ -136,8 +136,3 @@ class symcomp(compile):
self
.
_r
=
r
=
apply
(
regex
.
symcomp
,
args
)
self
.
_init
(
r
)
self
.
groupindex
=
r
.
groupindex
lib/python/webdav/Collection.py
View file @
bdb3057e
...
...
@@ -13,7 +13,7 @@
"""WebDAV support - collection objects."""
__version__
=
'$Revision: 1.2
3
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.2
4
$'
[
11
:
-
2
]
import
sys
,
os
,
Globals
,
davcmds
,
Lockable
,
re
from
common
import
urlfix
,
rfc1123_date
...
...
lib/python/webdav/EtagSupport.py
View file @
bdb3057e
...
...
@@ -11,7 +11,7 @@
#
##############################################################################
__version__
=
"$Revision: 1.
7
$"
[
11
:
-
2
]
__version__
=
"$Revision: 1.
8
$"
[
11
:
-
2
]
import
time
,
Interface
,
re
...
...
@@ -134,5 +134,3 @@ class EtagSupport:
raise
"Precondition Failed"
elif
self
.
http__etag
()
not
in
nonelist
:
return
1
lib/python/webdav/LockItem.py
View file @
bdb3057e
...
...
@@ -11,7 +11,7 @@
#
##############################################################################
__version__
=
"$Revision: 1.
6
$"
[
11
:
-
2
]
__version__
=
"$Revision: 1.
7
$"
[
11
:
-
2
]
from
Globals
import
Persistent
from
WriteLockInterface
import
LockItemInterface
...
...
@@ -175,4 +175,3 @@ class LockItem(Persistent):
</d:lockdiscovery>
</d:prop>"""
%
self
.
asLockDiscoveryProperty
(
ns
=
"d"
)
return
s
lib/python/webdav/Lockable.py
View file @
bdb3057e
...
...
@@ -11,7 +11,7 @@
#
##############################################################################
__version__
=
"$Revision: 1.
7
$"
[
11
:
-
2
]
__version__
=
"$Revision: 1.
8
$"
[
11
:
-
2
]
from
WriteLockInterface
import
WriteLockInterface
,
LockItemInterface
from
EtagSupport
import
EtagSupport
...
...
lib/python/webdav/NullResource.py
View file @
bdb3057e
...
...
@@ -13,7 +13,7 @@
"""WebDAV support - null resource objects."""
__version__
=
'$Revision: 1.3
7
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.3
8
$'
[
11
:
-
2
]
import
sys
,
os
,
mimetypes
,
Globals
,
davcmds
import
Acquisition
,
OFS
.
content_types
...
...
lib/python/webdav/Resource.py
View file @
bdb3057e
...
...
@@ -13,7 +13,7 @@
"""WebDAV support - resource objects."""
__version__
=
'$Revision: 1.5
1
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.5
2
$'
[
11
:
-
2
]
import
sys
,
os
,
mimetypes
,
davcmds
,
ExtensionClass
,
Lockable
from
common
import
absattr
,
aq_base
,
urlfix
,
rfc1123_date
,
tokenFinder
,
urlbase
...
...
lib/python/webdav/WriteLockInterface.py
View file @
bdb3057e
...
...
@@ -11,7 +11,7 @@
#
##############################################################################
__version__
=
'$Revision: 1.
5
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
import
Interface
...
...
@@ -211,4 +211,3 @@ class WriteLockInterface(Interface.Base):
def
wl_clearLocks
():
""" Deletes ALL DAV locks on the object - should only be called
by lock management machinery. """
lib/python/webdav/__init__.py
View file @
bdb3057e
...
...
@@ -35,4 +35,4 @@
Jensen, "HTTP Extensions for Distributed Authoring - WebDAV." RFC 2518.
Microsoft, U.C. Irvine, Netscape, Novell. February, 1999."""
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
lib/python/webdav/client.py
View file @
bdb3057e
"""HTTP 1.1 / WebDAV client library."""
__version__
=
'$Revision: 1.
19
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
20
$'
[
11
:
-
2
]
import
sys
,
os
,
time
,
types
,
re
import
socket
,
httplib
,
mimetools
...
...
@@ -611,4 +611,3 @@ dav =Resource('http://tarzan.digicool.com/dev/dav/',
username
=
'brian'
,
password
=
'123'
)
adav
=
Resource
(
'http://tarzan.digicool.com/dev/dav/'
)
lib/python/webdav/common.py
View file @
bdb3057e
...
...
@@ -13,7 +13,7 @@
"""Commonly used functions for WebDAV support modules."""
__version__
=
'$Revision: 1.1
6
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
7
$'
[
11
:
-
2
]
import
time
,
urllib
,
re
from
App.Common
import
iso8601_date
,
rfc850_date
,
rfc1123_date
...
...
lib/python/webdav/davcmds.py
View file @
bdb3057e
...
...
@@ -13,7 +13,7 @@
"""WebDAV xml request objects."""
__version__
=
'$Revision: 1.
19
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
20
$'
[
11
:
-
2
]
import
sys
,
os
from
common
import
absattr
,
aq_base
,
urlfix
,
urlbase
...
...
@@ -497,4 +497,3 @@ class DeleteCollection:
# element
result
.
write
(
'</d:multistatus>
\
n
'
)
return
result
.
getvalue
()
lib/python/webdav/xmltools.py
View file @
bdb3057e
...
...
@@ -17,7 +17,7 @@
in favor of a standard xml package once some issues are
worked out."""
__version__
=
'$Revision: 1.1
2
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
3
$'
[
11
:
-
2
]
import
sys
,
os
import
Shared.DC.xml.xmllib
...
...
lib/python/zExceptions/ExceptionFormatter.py
View file @
bdb3057e
...
...
@@ -14,7 +14,7 @@
"""An exception formatter that shows traceback supplements and traceback info,
optionally in HTML.
$Id: ExceptionFormatter.py,v 1.
3 2002/04/08 12:41:52 htrd
Exp $
$Id: ExceptionFormatter.py,v 1.
4 2002/08/14 22:12:06 mj
Exp $
"""
import
sys
...
...
@@ -250,4 +250,3 @@ def format_exception(t, v, tb, limit=None, as_html=0):
else
:
fmt
=
text_formatter
return
fmt
.
formatException
(
t
,
v
,
tb
,
limit
=
limit
)
lib/python/zExceptions/ITracebackSupplement.py
View file @
bdb3057e
...
...
@@ -13,7 +13,7 @@
##############################################################################
"""ITracebackSupplement interface definition.
$Id: ITracebackSupplement.py,v 1.
2 2002/04/03 20:44:00 shane
Exp $
$Id: ITracebackSupplement.py,v 1.
3 2002/08/14 22:12:06 mj
Exp $
"""
...
...
lib/python/zExceptions/__init__.py
View file @
bdb3057e
...
...
@@ -15,7 +15,7 @@
These exceptions are so general purpose that they don't belong in Zope
application-specific packages.
$Id: __init__.py,v 1.
3 2001/11/28 15:51:23 matt
Exp $
$Id: __init__.py,v 1.
4 2002/08/14 22:12:06 mj
Exp $
"""
from
unauthorized
import
Unauthorized
lib/python/zExceptions/tests/testExceptionFormatter.py
View file @
bdb3057e
...
...
@@ -15,7 +15,7 @@
ExceptionFormatter tests.
Revision information:
$Id: testExceptionFormatter.py,v 1.
3 2002/06/10 20:18:45 shane
Exp $
$Id: testExceptionFormatter.py,v 1.
4 2002/08/14 22:12:07 mj
Exp $
"""
from
__future__
import
nested_scopes
...
...
lib/python/zExceptions/unauthorized.py
View file @
bdb3057e
...
...
@@ -11,7 +11,7 @@
#
##############################################################################
"""
$Id: unauthorized.py,v 1.
4 2001/11/28 15:51:23 matt
Exp $
$Id: unauthorized.py,v 1.
5 2002/08/14 22:12:06 mj
Exp $
"""
from
types
import
StringType
...
...
@@ -66,4 +66,3 @@ class Unauthorized(Exception):
c
=
getattr
(
v
,
'__class__'
,
type
(
v
))
c
=
getattr
(
c
,
'__name__'
,
'object'
)
return
"a particular %s"
%
c
lib/python/zLOG/FormatException.py
View file @
bdb3057e
...
...
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
try
:
# Use the exception formatter in zExceptions
...
...
lib/python/zLOG/MinimalLogger.py
View file @
bdb3057e
...
...
@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__version__
=
'$Revision: 1.1
1
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
2
$'
[
11
:
-
2
]
import
os
,
sys
,
time
...
...
lib/python/zLOG/__init__.py
View file @
bdb3057e
...
...
@@ -86,7 +86,7 @@ There is a default event logging facility that:
can be overridden with the environment variable EVENT_LOG_SEVERITY
"""
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
8
$'
[
11
:
-
2
]
from
MinimalLogger
import
log_write
,
log_time
,
severity_string
,
\
_set_log_dest
,
initialize
...
...
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