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
f90d18e7
Commit
f90d18e7
authored
Aug 14, 2002
by
Martijn Pieters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up indentation and trailing whitespace.
parent
023c1df8
Changes
70
Show whitespace changes
Inline
Side-by-side
Showing
70 changed files
with
768 additions
and
832 deletions
+768
-832
lib/python/OFS/tests/testCopySupport.py
lib/python/OFS/tests/testCopySupport.py
+3
-4
lib/python/OFS/tests/testRanges.py
lib/python/OFS/tests/testRanges.py
+13
-13
lib/python/OFS/tests/testTraverse.py
lib/python/OFS/tests/testTraverse.py
+3
-4
lib/python/RestrictedPython/Eval.py
lib/python/RestrictedPython/Eval.py
+6
-7
lib/python/RestrictedPython/Guards.py
lib/python/RestrictedPython/Guards.py
+5
-9
lib/python/RestrictedPython/Limits.py
lib/python/RestrictedPython/Limits.py
+3
-4
lib/python/RestrictedPython/MutatingWalker.py
lib/python/RestrictedPython/MutatingWalker.py
+3
-4
lib/python/RestrictedPython/PrintCollector.py
lib/python/RestrictedPython/PrintCollector.py
+3
-3
lib/python/RestrictedPython/RCompile.py
lib/python/RestrictedPython/RCompile.py
+3
-4
lib/python/RestrictedPython/RCompile_2_1.py
lib/python/RestrictedPython/RCompile_2_1.py
+33
-33
lib/python/RestrictedPython/RestrictionMutator.py
lib/python/RestrictedPython/RestrictionMutator.py
+3
-4
lib/python/RestrictedPython/SafeMapping.py
lib/python/RestrictedPython/SafeMapping.py
+4
-4
lib/python/RestrictedPython/SelectCompiler.py
lib/python/RestrictedPython/SelectCompiler.py
+3
-5
lib/python/RestrictedPython/Utilities.py
lib/python/RestrictedPython/Utilities.py
+4
-4
lib/python/RestrictedPython/__init__.py
lib/python/RestrictedPython/__init__.py
+3
-4
lib/python/RestrictedPython/compiler_2_1/__init__.py
lib/python/RestrictedPython/compiler_2_1/__init__.py
+0
-1
lib/python/RestrictedPython/compiler_2_1/ast.py
lib/python/RestrictedPython/compiler_2_1/ast.py
+1
-1
lib/python/RestrictedPython/compiler_2_1/future.py
lib/python/RestrictedPython/compiler_2_1/future.py
+1
-2
lib/python/RestrictedPython/compiler_2_1/misc.py
lib/python/RestrictedPython/compiler_2_1/misc.py
+0
-1
lib/python/RestrictedPython/compiler_2_1/pyassem.py
lib/python/RestrictedPython/compiler_2_1/pyassem.py
+1
-1
lib/python/RestrictedPython/compiler_2_1/pycodegen.py
lib/python/RestrictedPython/compiler_2_1/pycodegen.py
+16
-16
lib/python/RestrictedPython/compiler_2_1/symbols.py
lib/python/RestrictedPython/compiler_2_1/symbols.py
+7
-7
lib/python/RestrictedPython/compiler_2_1/transformer.py
lib/python/RestrictedPython/compiler_2_1/transformer.py
+9
-9
lib/python/RestrictedPython/compiler_2_1/visitor.py
lib/python/RestrictedPython/compiler_2_1/visitor.py
+1
-1
lib/python/RestrictedPython/tests/restricted_module.py
lib/python/RestrictedPython/tests/restricted_module.py
+2
-3
lib/python/RestrictedPython/tests/security_in_syntax.py
lib/python/RestrictedPython/tests/security_in_syntax.py
+0
-1
lib/python/RestrictedPython/tests/testRestrictions.py
lib/python/RestrictedPython/tests/testRestrictions.py
+1
-2
lib/python/SearchIndex/GlobbingLexicon.py
lib/python/SearchIndex/GlobbingLexicon.py
+9
-10
lib/python/SearchIndex/Index.py
lib/python/SearchIndex/Index.py
+9
-26
lib/python/SearchIndex/Lexicon.py
lib/python/SearchIndex/Lexicon.py
+9
-13
lib/python/SearchIndex/PluggableIndex.py
lib/python/SearchIndex/PluggableIndex.py
+3
-3
lib/python/SearchIndex/ResultList.py
lib/python/SearchIndex/ResultList.py
+7
-8
lib/python/SearchIndex/TextIndex.py
lib/python/SearchIndex/TextIndex.py
+39
-39
lib/python/SearchIndex/UnIndex.py
lib/python/SearchIndex/UnIndex.py
+16
-17
lib/python/SearchIndex/UnKeywordIndex.py
lib/python/SearchIndex/UnKeywordIndex.py
+4
-4
lib/python/SearchIndex/UnTextIndex.py
lib/python/SearchIndex/UnTextIndex.py
+37
-37
lib/python/SearchIndex/__init__.py
lib/python/SearchIndex/__init__.py
+4
-5
lib/python/SearchIndex/randid.py
lib/python/SearchIndex/randid.py
+2
-2
lib/python/SearchIndex/tests/testSplitter.py
lib/python/SearchIndex/tests/testSplitter.py
+25
-25
lib/python/SearchIndex/tests/testUnKeywordIndex.py
lib/python/SearchIndex/tests/testUnKeywordIndex.py
+8
-8
lib/python/SearchIndex/tests/testUnTextIndex.py
lib/python/SearchIndex/tests/testUnTextIndex.py
+186
-186
lib/python/SearchIndex/tests/test_UnIndex.py
lib/python/SearchIndex/tests/test_UnIndex.py
+12
-12
lib/python/Shared/DC/Scripts/Bindings.py
lib/python/Shared/DC/Scripts/Bindings.py
+5
-8
lib/python/Shared/DC/Scripts/BindingsUI.py
lib/python/Shared/DC/Scripts/BindingsUI.py
+3
-3
lib/python/Shared/DC/Scripts/Script.py
lib/python/Shared/DC/Scripts/Script.py
+2
-3
lib/python/Shared/DC/Scripts/Signature.py
lib/python/Shared/DC/Scripts/Signature.py
+3
-4
lib/python/Shared/DC/Scripts/__init__.py
lib/python/Shared/DC/Scripts/__init__.py
+2
-2
lib/python/Shared/DC/ZRDB/Aqueduct.py
lib/python/Shared/DC/ZRDB/Aqueduct.py
+15
-15
lib/python/Shared/DC/ZRDB/Connection.py
lib/python/Shared/DC/ZRDB/Connection.py
+11
-11
lib/python/Shared/DC/ZRDB/DA.py
lib/python/Shared/DC/ZRDB/DA.py
+20
-21
lib/python/Shared/DC/ZRDB/RDB.py
lib/python/Shared/DC/ZRDB/RDB.py
+12
-12
lib/python/Shared/DC/ZRDB/Results.py
lib/python/Shared/DC/ZRDB/Results.py
+8
-8
lib/python/Shared/DC/ZRDB/Search.py
lib/python/Shared/DC/ZRDB/Search.py
+24
-35
lib/python/Shared/DC/ZRDB/THUNK.py
lib/python/Shared/DC/ZRDB/THUNK.py
+4
-4
lib/python/Shared/DC/ZRDB/TM.py
lib/python/Shared/DC/ZRDB/TM.py
+4
-4
lib/python/Shared/DC/ZRDB/__init__.py
lib/python/Shared/DC/ZRDB/__init__.py
+2
-2
lib/python/Shared/DC/ZRDB/dbi_db.py
lib/python/Shared/DC/ZRDB/dbi_db.py
+10
-10
lib/python/Shared/DC/ZRDB/sqlgroup.py
lib/python/Shared/DC/ZRDB/sqlgroup.py
+10
-10
lib/python/Shared/DC/ZRDB/sqltest.py
lib/python/Shared/DC/ZRDB/sqltest.py
+35
-35
lib/python/Shared/DC/ZRDB/sqlvar.py
lib/python/Shared/DC/ZRDB/sqlvar.py
+9
-9
lib/python/Shared/DC/__init__.py
lib/python/Shared/DC/__init__.py
+4
-4
lib/python/Shared/DC/xml/__init__.py
lib/python/Shared/DC/xml/__init__.py
+3
-3
lib/python/Shared/DC/xml/ppml.py
lib/python/Shared/DC/xml/ppml.py
+18
-19
lib/python/Shared/DC/xml/pyexpat/__init__.py
lib/python/Shared/DC/xml/pyexpat/__init__.py
+2
-2
lib/python/Shared/DC/xml/pyexpat/_checkversion.py
lib/python/Shared/DC/xml/pyexpat/_checkversion.py
+3
-3
lib/python/Shared/DC/xml/pyexpat/pyexpat.py
lib/python/Shared/DC/xml/pyexpat/pyexpat.py
+2
-2
lib/python/Shared/DC/xml/pyexpat/pyexpattest.py
lib/python/Shared/DC/xml/pyexpat/pyexpattest.py
+40
-40
lib/python/Shared/DC/xml/xmllib.py
lib/python/Shared/DC/xml/xmllib.py
+2
-2
lib/python/Shared/DC/xml/xyap.py
lib/python/Shared/DC/xml/xyap.py
+10
-11
lib/python/Shared/__init__.py
lib/python/Shared/__init__.py
+4
-4
No files found.
lib/python/OFS/tests/testCopySupport.py
View file @
f90d18e7
...
...
@@ -230,4 +230,3 @@ def main():
if
__name__
==
'__main__'
:
main
()
lib/python/OFS/tests/testRanges.py
View file @
f90d18e7
lib/python/OFS/tests/testTraverse.py
View file @
f90d18e7
...
...
@@ -137,4 +137,3 @@ def main():
if
__name__
==
'__main__'
:
main
()
lib/python/RestrictedPython/Eval.py
View file @
f90d18e7
...
...
@@ -12,8 +12,8 @@
##############################################################################
"""Restricted Python Expressions
"""
__rcs_id__
=
'$Id: Eval.py,v 1.
4 2001/11/28 15:51:11 matt
Exp $'
__version__
=
'$Revision: 1.
4
$'
[
11
:
-
2
]
__rcs_id__
=
'$Id: Eval.py,v 1.
5 2002/08/14 21:44:31 mj
Exp $'
__version__
=
'$Revision: 1.
5
$'
[
11
:
-
2
]
from
string
import
translate
,
strip
import
string
...
...
@@ -119,4 +119,3 @@ class RestrictionCapableEval:
def
__call__
(
self
,
**
kw
):
return
self
.
eval
(
kw
)
lib/python/RestrictedPython/Guards.py
View file @
f90d18e7
...
...
@@ -12,7 +12,7 @@
##############################################################################
from
__future__
import
nested_scopes
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
8
$'
[
11
:
-
2
]
import
new
...
...
@@ -110,7 +110,3 @@ safe_builtins['setattr'] = guarded_setattr
def
guarded_delattr
(
object
,
name
):
delattr
(
full_write_guard
(
object
),
name
)
safe_builtins
[
'delattr'
]
=
guarded_delattr
lib/python/RestrictedPython/Limits.py
View file @
f90d18e7
...
...
@@ -11,7 +11,7 @@
#
##############################################################################
__version__
=
'$Revision: 1.
3
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
4
$'
[
11
:
-
2
]
limited_builtins
=
{}
...
...
@@ -44,4 +44,3 @@ def limited_tuple(seq):
raise
TypeError
,
'cannot convert string to tuple'
return
tuple
(
seq
)
limited_builtins
[
'tuple'
]
=
limited_tuple
lib/python/RestrictedPython/MutatingWalker.py
View file @
f90d18e7
...
...
@@ -11,7 +11,7 @@
#
##############################################################################
__version__
=
'$Revision: 1.
5
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
from
SelectCompiler
import
ast
...
...
@@ -72,4 +72,3 @@ class MutatingWalker:
def
walk
(
tree
,
visitor
):
return
MutatingWalker
(
visitor
).
dispatchNode
(
tree
)
lib/python/RestrictedPython/PrintCollector.py
View file @
f90d18e7
...
...
@@ -11,7 +11,7 @@
#
##############################################################################
__version__
=
'$Revision: 1.
3
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
4
$'
[
11
:
-
2
]
class
PrintCollector
:
'''Collect written text, and return it when called.'''
...
...
lib/python/RestrictedPython/RCompile.py
View file @
f90d18e7
...
...
@@ -14,7 +14,7 @@
Python standard library.
"""
__version__
=
'$Revision: 1.
2
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
3
$'
[
11
:
-
2
]
from
compiler
import
ast
,
parse
,
misc
,
syntax
...
...
@@ -146,4 +146,3 @@ def compile_restricted(source, filename, mode):
"'eval' or 'single'"
)
gen
.
compile
()
return
gen
.
getCode
()
lib/python/RestrictedPython/RCompile_2_1.py
View file @
f90d18e7
...
...
@@ -11,7 +11,7 @@
#
##############################################################################
__version__
=
'$Revision: 1.
2
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
3
$'
[
11
:
-
2
]
import
sys
from
traceback
import
format_exception_only
...
...
lib/python/RestrictedPython/RestrictionMutator.py
View file @
f90d18e7
...
...
@@ -15,7 +15,7 @@ RestrictionMutator modifies a tree produced by
compiler.transformer.Transformer, restricting and enhancing the
code in various ways before sending it to pycodegen.
'''
__version__
=
'$Revision: 1.
9
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
10
$'
[
11
:
-
2
]
from
SelectCompiler
import
ast
,
parse
,
OP_ASSIGN
,
OP_DELETE
,
OP_APPLY
...
...
@@ -271,4 +271,3 @@ class RestrictionMutator:
def
visitAugAssign
(
self
,
node
,
walker
):
node
.
node
.
in_aug_assign
=
1
return
walker
.
defaultVisitNode
(
node
)
lib/python/RestrictedPython/SafeMapping.py
View file @
f90d18e7
...
...
@@ -12,8 +12,8 @@
##############################################################################
__doc__
=
'''Read-only Mapping class based on MultiMapping
$Id: SafeMapping.py,v 1.
2 2001/11/28 15:51:11 matt
Exp $'''
__version__
=
'$Revision: 1.
2
$'
[
11
:
-
2
]
$Id: SafeMapping.py,v 1.
3 2002/08/14 21:44:31 mj
Exp $'''
__version__
=
'$Revision: 1.
3
$'
[
11
:
-
2
]
from
MultiMapping
import
MultiMapping
...
...
lib/python/RestrictedPython/SelectCompiler.py
View file @
f90d18e7
...
...
@@ -12,7 +12,7 @@
##############################################################################
'''
Compiler selector.
$Id: SelectCompiler.py,v 1.
3 2001/12/22 16:39:05 Brian
Exp $
$Id: SelectCompiler.py,v 1.
4 2002/08/14 21:44:31 mj
Exp $
'''
import
sys
...
...
@@ -40,5 +40,3 @@ else:
compile_restricted_function
,
\
compile_restricted_exec
,
\
compile_restricted_eval
lib/python/RestrictedPython/Utilities.py
View file @
f90d18e7
...
...
@@ -11,7 +11,7 @@
#
##############################################################################
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
import
string
,
math
,
random
,
whrandom
import
DocumentTemplate.sequence
...
...
lib/python/RestrictedPython/__init__.py
View file @
f90d18e7
...
...
@@ -12,9 +12,8 @@
##############################################################################
'''
RestrictedPython package.
$Id: __init__.py,v 1.
4 2001/12/21 19:34:47 shane
Exp $
$Id: __init__.py,v 1.
5 2002/08/14 21:44:31 mj
Exp $
'''
from
SelectCompiler
import
*
from
PrintCollector
import
PrintCollector
lib/python/RestrictedPython/compiler_2_1/__init__.py
View file @
f90d18e7
...
...
@@ -21,4 +21,3 @@ compile(filename)
from
transformer
import
parse
,
parseFile
from
visitor
import
walk
from
pycodegen
import
compile
lib/python/RestrictedPython/compiler_2_1/ast.py
View file @
f90d18e7
lib/python/RestrictedPython/compiler_2_1/future.py
View file @
f90d18e7
...
...
@@ -76,4 +76,3 @@ if __name__ == "__main__":
walk
(
tree
,
v
)
print
v
.
found
print
lib/python/RestrictedPython/compiler_2_1/misc.py
View file @
f90d18e7
...
...
@@ -64,4 +64,3 @@ def mangle(name, klass):
klass
=
klass
[:
MANGLE_LEN
-
tlen
]
return
"_%s%s"
%
(
klass
,
name
)
lib/python/RestrictedPython/compiler_2_1/pyassem.py
View file @
f90d18e7
lib/python/RestrictedPython/compiler_2_1/pycodegen.py
View file @
f90d18e7
lib/python/RestrictedPython/compiler_2_1/symbols.py
View file @
f90d18e7
lib/python/RestrictedPython/compiler_2_1/transformer.py
View file @
f90d18e7
lib/python/RestrictedPython/compiler_2_1/visitor.py
View file @
f90d18e7
lib/python/RestrictedPython/tests/restricted_module.py
View file @
f90d18e7
...
...
@@ -154,4 +154,3 @@ def nested_scopes_1():
def
f2
():
return
a
return
f1
()
+
f2
()
lib/python/RestrictedPython/tests/security_in_syntax.py
View file @
f90d18e7
# These are all supposed to raise a SyntaxError when using
# compile_restricted() but not when using compile().
# Each function in this module is compiled using compile_restricted().
...
...
lib/python/RestrictedPython/tests/testRestrictions.py
View file @
f90d18e7
from
string
import
rfind
import
sys
,
os
...
...
lib/python/SearchIndex/GlobbingLexicon.py
View file @
f90d18e7
...
...
@@ -243,4 +243,3 @@ class GlobbingLexicon(Lexicon):
result = string.replace(result, '
?
', '
.
')
return "%s$" % result
lib/python/SearchIndex/Index.py
View file @
f90d18e7
...
...
@@ -12,7 +12,7 @@
##############################################################################
"""Simple column indices"""
__version__
=
'$Revision: 1.
29
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
30
$'
[
11
:
-
2
]
from
Persistence
import
Persistent
from
BTrees.OOBTree
import
OOBTree
...
...
@@ -244,20 +244,3 @@ class Index(Persistent):
else
:
return
None
return
r
,
(
id
,)
lib/python/SearchIndex/Lexicon.py
View file @
f90d18e7
...
...
@@ -200,7 +200,3 @@ stop_words=(
)
stop_word_dict
=
{}
for
word
in
stop_words
:
stop_word_dict
[
word
]
=
None
lib/python/SearchIndex/PluggableIndex.py
View file @
f90d18e7
...
...
@@ -12,7 +12,7 @@
##############################################################################
"""Pluggable Index Base Class """
__version__
=
'$Revision: 1.
3
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
4
$'
[
11
:
-
2
]
import
Interface
...
...
lib/python/SearchIndex/ResultList.py
View file @
f90d18e7
...
...
@@ -92,4 +92,3 @@ class ResultList:
return
self
.
__class__
(
result
,
union
(
self
.
_words
,
x
.
_words
),
self
.
_index
)
lib/python/SearchIndex/TextIndex.py
View file @
f90d18e7
...
...
@@ -130,7 +130,7 @@ Notes on a new text index design
space.
"""
__version__
=
'$Revision: 1.3
0
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.3
1
$'
[
11
:
-
2
]
#XXX I strongly suspect that this is broken, but I'm not going to fix it. :(
...
...
lib/python/SearchIndex/UnIndex.py
View file @
f90d18e7
...
...
@@ -13,7 +13,7 @@
"""Simple column indices"""
__version__
=
'$Revision: 1.3
0
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.3
1
$'
[
11
:
-
2
]
from
Globals
import
Persistent
from
Acquisition
import
Implicit
...
...
@@ -387,4 +387,3 @@ class UnIndex(Persistent, Implicit):
v
=
IISet
((
v
,))
items
.
append
((
k
,
v
))
return
items
lib/python/SearchIndex/UnKeywordIndex.py
View file @
f90d18e7
lib/python/SearchIndex/UnTextIndex.py
View file @
f90d18e7
...
...
@@ -19,7 +19,7 @@ undo information so that objects can be unindexed when the old value
is no longer known.
"""
__version__
=
'$Revision: 1.5
2
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.5
3
$'
[
11
:
-
2
]
import
string
,
re
...
...
lib/python/SearchIndex/__init__.py
View file @
f90d18e7
...
...
@@ -13,8 +13,8 @@
__doc__
=
'''Collected utilities to support database indexing.
$Id: __init__.py,v 1.
9 2001/11/28 15:51:11 matt
Exp $'''
__version__
=
'$Revision: 1.
9
$'
[
11
:
-
2
]
$Id: __init__.py,v 1.
10 2002/08/14 21:46:24 mj
Exp $'''
__version__
=
'$Revision: 1.
10
$'
[
11
:
-
2
]
import
warnings
warnings
.
warn
(
"The usage of the SearchIndex package is deprecated since
\
Zope 2.4.
\
n
\
...
...
@@ -23,4 +23,3 @@ and will go away in a future release.\n\
\
n
\
Please use instead the re-factored modules in Products/PluginIndexes.
\
n
\
"
,
DeprecationWarning
)
lib/python/SearchIndex/randid.py
View file @
f90d18e7
lib/python/SearchIndex/tests/testSplitter.py
View file @
f90d18e7
lib/python/SearchIndex/tests/testUnKeywordIndex.py
View file @
f90d18e7
lib/python/SearchIndex/tests/testUnTextIndex.py
View file @
f90d18e7
lib/python/SearchIndex/tests/test_UnIndex.py
View file @
f90d18e7
lib/python/Shared/DC/Scripts/Bindings.py
View file @
f90d18e7
...
...
@@ -281,6 +281,3 @@ class Bindings:
exec
bindcode
bound_data
=
bound_data
[
0
]
return
self
.
_exec
(
bound_data
,
args
,
kw
)
lib/python/Shared/DC/Scripts/BindingsUI.py
View file @
f90d18e7
lib/python/Shared/DC/Scripts/Script.py
View file @
f90d18e7
...
...
@@ -54,4 +54,3 @@ class Script(SimpleItem, BindingsUI):
raise
"Redirect"
,
"%s?%s"
%
(
REQUEST
[
'URL1'
],
join
(
vv
,
'&'
))
from
Signature
import
_setFuncSignature
lib/python/Shared/DC/Scripts/Signature.py
View file @
f90d18e7
...
...
@@ -16,7 +16,7 @@
This provides support for simulating function signatures
"""
__version__
=
'$Revision: 1.
5
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
class
FuncCode
:
...
...
@@ -42,4 +42,3 @@ def _setFuncSignature(self, defaults=None, varnames=(), argcount=-1):
code
=
FuncCode
(
varnames
,
argcount
)
if
self
.
func_code
!=
code
:
self
.
func_code
=
code
lib/python/Shared/DC/Scripts/__init__.py
View file @
f90d18e7
lib/python/Shared/DC/ZRDB/Aqueduct.py
View file @
f90d18e7
...
...
@@ -12,8 +12,8 @@
##############################################################################
__doc__
=
'''Shared classes and functions
$Id: Aqueduct.py,v 1.5
5 2002/02/15 16:30:29 evan
Exp $'''
__version__
=
'$Revision: 1.5
5
$'
[
11
:
-
2
]
$Id: Aqueduct.py,v 1.5
6 2002/08/14 21:50:59 mj
Exp $'''
__version__
=
'$Revision: 1.5
6
$'
[
11
:
-
2
]
import
Globals
,
os
from
Globals
import
Persistent
...
...
lib/python/Shared/DC/ZRDB/Connection.py
View file @
f90d18e7
...
...
@@ -12,8 +12,8 @@
##############################################################################
__doc__
=
'''Generic Database Connection Support
$Id: Connection.py,v 1.3
4 2001/11/28 15:51:13 matt
Exp $'''
__version__
=
'$Revision: 1.3
4
$'
[
11
:
-
2
]
$Id: Connection.py,v 1.3
5 2002/08/14 21:50:59 mj
Exp $'''
__version__
=
'$Revision: 1.3
5
$'
[
11
:
-
2
]
import
Globals
,
OFS
.
SimpleItem
,
AccessControl
.
Role
,
Acquisition
,
sys
from
DateTime
import
DateTime
...
...
lib/python/Shared/DC/ZRDB/DA.py
View file @
f90d18e7
...
...
@@ -13,7 +13,7 @@
__doc__
=
'''Generic Database adapter'''
__version__
=
'$Revision: 1.10
4
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.10
5
$'
[
11
:
-
2
]
import
OFS.SimpleItem
,
Aqueduct
,
RDB
,
re
import
DocumentTemplate
,
marshal
,
md5
,
base64
,
Acquisition
,
os
...
...
@@ -547,4 +547,3 @@ class Traverse(ExtensionClass.Base):
r
=
self
.
__dict__
[
'_r'
]
if
hasattr
(
r
,
name
):
return
getattr
(
r
,
name
)
return
getattr
(
self
.
__dict__
[
'_da'
],
name
)
lib/python/Shared/DC/ZRDB/RDB.py
View file @
f90d18e7
...
...
@@ -13,8 +13,8 @@
__doc__
=
'''Class for reading RDB files
$Id: RDB.py,v 1.3
2 2001/11/28 15:51:13 matt
Exp $'''
__version__
=
'$Revision: 1.3
2
$'
[
11
:
-
2
]
$Id: RDB.py,v 1.3
3 2002/08/14 21:50:59 mj
Exp $'''
__version__
=
'$Revision: 1.3
3
$'
[
11
:
-
2
]
from
string
import
split
,
strip
,
lower
,
upper
,
atof
,
atoi
,
atol
,
find
,
join
,
find
import
DateTime
,
re
...
...
lib/python/Shared/DC/ZRDB/Results.py
View file @
f90d18e7
lib/python/Shared/DC/ZRDB/Search.py
View file @
f90d18e7
...
...
@@ -12,8 +12,8 @@
##############################################################################
__doc__
=
'''Search Interface Wizard
$Id: Search.py,v 1.
19 2002/07/19 18:24:23 efge
Exp $'''
__version__
=
'$Revision: 1.
19
$'
[
11
:
-
2
]
$Id: Search.py,v 1.
20 2002/08/14 21:50:59 mj
Exp $'''
__version__
=
'$Revision: 1.
20
$'
[
11
:
-
2
]
from
Globals
import
DTMLFile
from
Aqueduct
import
custom_default_report
,
custom_default_zpt_report
,
nicify
,
Args
...
...
@@ -252,14 +252,3 @@ def default_input_zpt_form(arguments,action='query',
'</body></html>
\
n
'
%
(
tabs
,
action
)
)
lib/python/Shared/DC/ZRDB/THUNK.py
View file @
f90d18e7
lib/python/Shared/DC/ZRDB/TM.py
View file @
f90d18e7
lib/python/Shared/DC/ZRDB/__init__.py
View file @
f90d18e7
lib/python/Shared/DC/ZRDB/dbi_db.py
View file @
f90d18e7
...
...
@@ -13,14 +13,14 @@
__doc__
=
'''short description
$Id: dbi_db.py,v 1.
9 2001/11/28 15:51:13 matt
Exp $'''
$Id: dbi_db.py,v 1.
10 2002/08/14 21:50:59 mj
Exp $'''
# Copyright
#
# Copyright 1997 Digital Creations, Inc, 910 Princess Anne
# Street, Suite 300, Fredericksburg, Virginia 22401 U.S.A. All
# rights reserved.
#
__version__
=
'$Revision: 1.
9
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
10
$'
[
11
:
-
2
]
import
string
,
sys
from
string
import
strip
,
split
,
find
,
join
...
...
lib/python/Shared/DC/ZRDB/sqlgroup.py
View file @
f90d18e7
...
...
@@ -69,8 +69,8 @@
# rights reserved.
#
############################################################################
__rcs_id__
=
'$Id: sqlgroup.py,v 1.
8 2001/11/28 15:51:13 matt
Exp $'
__version__
=
'$Revision: 1.
8
$'
[
11
:
-
2
]
__rcs_id__
=
'$Id: sqlgroup.py,v 1.
9 2002/08/14 21:50:59 mj
Exp $'
__version__
=
'$Revision: 1.
9
$'
[
11
:
-
2
]
from
DocumentTemplate.DT_Util
import
parse_params
str
=
__builtins__
[
'str'
]
...
...
lib/python/Shared/DC/ZRDB/sqltest.py
View file @
f90d18e7
...
...
@@ -55,7 +55,7 @@
'and' or 'or' tag, otherwise, no text is inserted.
'''
__rcs_id__
=
'$Id: sqltest.py,v 1.1
7 2002/08/09 17:58:33 jshell
Exp $'
__rcs_id__
=
'$Id: sqltest.py,v 1.1
8 2002/08/14 21:50:59 mj
Exp $'
############################################################################
# Copyright
...
...
@@ -65,7 +65,7 @@ __rcs_id__='$Id: sqltest.py,v 1.17 2002/08/09 17:58:33 jshell Exp $'
# rights reserved.
#
############################################################################
__version__
=
'$Revision: 1.1
7
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
8
$'
[
11
:
-
2
]
import
sys
from
DocumentTemplate.DT_Util
import
ParseError
,
parse_params
,
name_param
...
...
lib/python/Shared/DC/ZRDB/sqlvar.py
View file @
f90d18e7
...
...
@@ -47,7 +47,7 @@
however, if x is ommitted or an empty string, then the value
inserted is 'null'.
'''
__rcs_id__
=
'$Id: sqlvar.py,v 1.1
2 2001/11/28 15:51:13 matt
Exp $'
__rcs_id__
=
'$Id: sqlvar.py,v 1.1
3 2002/08/14 21:50:59 mj
Exp $'
############################################################################
# Copyright
...
...
@@ -57,7 +57,7 @@ __rcs_id__='$Id: sqlvar.py,v 1.12 2001/11/28 15:51:13 matt Exp $'
# rights reserved.
#
############################################################################
__version__
=
'$Revision: 1.1
2
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
3
$'
[
11
:
-
2
]
from
DocumentTemplate.DT_Util
import
ParseError
,
parse_params
,
name_param
from
string
import
find
,
split
,
join
,
atoi
,
atof
...
...
lib/python/Shared/DC/__init__.py
View file @
f90d18e7
...
...
@@ -10,5 +10,5 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__doc__
=
'''$Id: __init__.py,v 1.
8 2001/11/28 15:51:13 matt
Exp $'''
__version__
=
'$Revision: 1.
8
$'
[
11
:
-
2
]
__doc__
=
'''$Id: __init__.py,v 1.
9 2002/08/14 21:50:59 mj
Exp $'''
__version__
=
'$Revision: 1.
9
$'
[
11
:
-
2
]
lib/python/Shared/DC/xml/__init__.py
View file @
f90d18e7
...
...
@@ -10,4 +10,4 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__version__
=
'$Revision: 1.
2
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
3
$'
[
11
:
-
2
]
lib/python/Shared/DC/xml/ppml.py
View file @
f90d18e7
...
...
@@ -787,4 +787,3 @@ def test3():
if
__name__
==
'__main__'
:
test
()
lib/python/Shared/DC/xml/pyexpat/__init__.py
View file @
f90d18e7
lib/python/Shared/DC/xml/pyexpat/_checkversion.py
View file @
f90d18e7
lib/python/Shared/DC/xml/pyexpat/pyexpat.py
View file @
f90d18e7
lib/python/Shared/DC/xml/pyexpat/pyexpattest.py
View file @
f90d18e7
lib/python/Shared/DC/xml/xmllib.py
View file @
f90d18e7
lib/python/Shared/DC/xml/xyap.py
View file @
f90d18e7
...
...
@@ -168,4 +168,3 @@ def test():
if
__name__
==
'__main__'
:
print
test
()
lib/python/Shared/__init__.py
View file @
f90d18e7
...
...
@@ -10,5 +10,5 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__doc__
=
'''$Id: __init__.py,v 1.
6 2001/11/28 15:51:12 matt
Exp $'''
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
__doc__
=
'''$Id: __init__.py,v 1.
7 2002/08/14 21:50:59 mj
Exp $'''
__version__
=
'$Revision: 1.
7
$'
[
11
:
-
2
]
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