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
9972be18
Commit
9972be18
authored
May 17, 2004
by
Philipp von Weitershausen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of $Revision$ in a few prominant places. Use an $Id$ in the
docstring instead, as the new style suggests.
parent
54de3ac5
Changes
33
Hide whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
92 additions
and
126 deletions
+92
-126
lib/python/AccessControl/DTML.py
lib/python/AccessControl/DTML.py
+3
-4
lib/python/AccessControl/Permission.py
lib/python/AccessControl/Permission.py
+3
-5
lib/python/AccessControl/Role.py
lib/python/AccessControl/Role.py
+3
-4
lib/python/AccessControl/SecurityManagement.py
lib/python/AccessControl/SecurityManagement.py
+3
-5
lib/python/AccessControl/SpecialUsers.py
lib/python/AccessControl/SpecialUsers.py
+0
-2
lib/python/OFS/Application.py
lib/python/OFS/Application.py
+3
-4
lib/python/OFS/Cache.py
lib/python/OFS/Cache.py
+3
-5
lib/python/OFS/CopySupport.py
lib/python/OFS/CopySupport.py
+3
-2
lib/python/OFS/DTMLDocument.py
lib/python/OFS/DTMLDocument.py
+3
-3
lib/python/OFS/DTMLMethod.py
lib/python/OFS/DTMLMethod.py
+3
-3
lib/python/OFS/DefaultObservable.py
lib/python/OFS/DefaultObservable.py
+5
-7
lib/python/OFS/Document.py
lib/python/OFS/Document.py
+3
-3
lib/python/OFS/FindSupport.py
lib/python/OFS/FindSupport.py
+3
-3
lib/python/OFS/Folder.py
lib/python/OFS/Folder.py
+2
-5
lib/python/OFS/History.py
lib/python/OFS/History.py
+3
-3
lib/python/OFS/Image.py
lib/python/OFS/Image.py
+3
-3
lib/python/OFS/Moniker.py
lib/python/OFS/Moniker.py
+1
-3
lib/python/OFS/ObjectManager.py
lib/python/OFS/ObjectManager.py
+3
-5
lib/python/OFS/PropertyManager.py
lib/python/OFS/PropertyManager.py
+3
-3
lib/python/OFS/PropertySheets.py
lib/python/OFS/PropertySheets.py
+3
-4
lib/python/OFS/SimpleItem.py
lib/python/OFS/SimpleItem.py
+3
-4
lib/python/OFS/Traversable.py
lib/python/OFS/Traversable.py
+3
-5
lib/python/OFS/content_types.py
lib/python/OFS/content_types.py
+3
-2
lib/python/OFS/rPickle.py
lib/python/OFS/rPickle.py
+3
-4
lib/python/ZTUtils/Batch.py
lib/python/ZTUtils/Batch.py
+3
-4
lib/python/ZTUtils/Iterator.py
lib/python/ZTUtils/Iterator.py
+3
-3
lib/python/ZTUtils/SimpleTree.py
lib/python/ZTUtils/SimpleTree.py
+3
-4
lib/python/ZTUtils/Tree.py
lib/python/ZTUtils/Tree.py
+3
-4
lib/python/ZTUtils/Zope.py
lib/python/ZTUtils/Zope.py
+3
-4
lib/python/ZTUtils/__init__.py
lib/python/ZTUtils/__init__.py
+3
-3
utilities/check_catalog.py
utilities/check_catalog.py
+3
-5
utilities/requestprofiler.py
utilities/requestprofiler.py
+3
-5
utilities/zpasswd.py
utilities/zpasswd.py
+0
-3
No files found.
lib/python/AccessControl/DTML.py
View file @
9972be18
...
@@ -10,11 +10,10 @@
...
@@ -10,11 +10,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
'''Add security system support to Document Templates
"""Add security system support to Document Templates
$Id$'''
__version__
=
'$Revision: 1.13 $'
[
11
:
-
2
]
$Id$
"""
from
DocumentTemplate
import
DT_Util
from
DocumentTemplate
import
DT_Util
import
SecurityManagement
,
string
,
math
,
whrandom
,
random
import
SecurityManagement
,
string
,
math
,
whrandom
,
random
import
DocumentTemplate.sequence
import
DocumentTemplate.sequence
...
...
lib/python/AccessControl/Permission.py
View file @
9972be18
...
@@ -10,12 +10,10 @@
...
@@ -10,12 +10,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
__doc__
=
'''short description
"""Permissions
$Id$'''
__version__
=
'$Revision: 1.10 $'
[
11
:
-
2
]
$Id$
"""
import
string
,
Products
,
Globals
import
string
,
Products
,
Globals
ListType
=
type
([])
ListType
=
type
([])
...
...
lib/python/AccessControl/Role.py
View file @
9972be18
...
@@ -10,11 +10,10 @@
...
@@ -10,11 +10,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
"""Access control support"""
"""Access control support
__version__
=
'$Revision: 1.61 $'
[
11
:
-
2
]
$Id$
"""
from
Globals
import
DTMLFile
,
MessageDialog
,
Dictionary
from
Globals
import
DTMLFile
,
MessageDialog
,
Dictionary
from
Acquisition
import
Implicit
,
Acquired
,
aq_get
from
Acquisition
import
Implicit
,
Acquired
,
aq_get
import
Globals
,
ExtensionClass
,
PermissionMapping
,
Products
import
Globals
,
ExtensionClass
,
PermissionMapping
,
Products
...
...
lib/python/AccessControl/SecurityManagement.py
View file @
9972be18
...
@@ -10,12 +10,10 @@
...
@@ -10,12 +10,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
__doc__
=
'''short description
"""Security management
$Id$'''
__version__
=
'$Revision: 1.10 $'
[
11
:
-
2
]
$Id$
"""
def
getSecurityManager
():
def
getSecurityManager
():
"""Get a security manager, for the current thread.
"""Get a security manager, for the current thread.
"""
"""
...
...
lib/python/AccessControl/SpecialUsers.py
View file @
9972be18
...
@@ -18,8 +18,6 @@ initialization.
...
@@ -18,8 +18,6 @@ initialization.
$Id$
$Id$
"""
"""
__version__
=
'$Revision: 1.5 $'
[
11
:
-
2
]
nobody
=
None
nobody
=
None
system
=
None
system
=
None
emergency_user
=
None
emergency_user
=
None
...
...
lib/python/OFS/Application.py
View file @
9972be18
...
@@ -10,11 +10,10 @@
...
@@ -10,11 +10,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
__doc__
=
'''Application support
"""Application support
$Id$'''
__version__
=
'$Revision: 1.202 $'
[
11
:
-
2
]
$Id$
"""
import
Globals
,
Folder
,
os
,
sys
,
App
.
Product
,
App
.
ProductRegistry
,
misc_
import
Globals
,
Folder
,
os
,
sys
,
App
.
Product
,
App
.
ProductRegistry
,
misc_
import
time
,
traceback
,
os
,
Products
import
time
,
traceback
,
os
,
Products
from
DateTime
import
DateTime
from
DateTime
import
DateTime
...
...
lib/python/OFS/Cache.py
View file @
9972be18
...
@@ -10,12 +10,10 @@
...
@@ -10,12 +10,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
__doc__
=
"""Cacheable object and cache management base classes.
"""Cacheable object and cache management base classes.
$Id$"""
__version__
=
'$Revision: 1.12 $'
[
11
:
-
2
]
$Id$
"""
import
time
,
sys
import
time
,
sys
import
Globals
import
Globals
from
Globals
import
DTMLFile
from
Globals
import
DTMLFile
...
...
lib/python/OFS/CopySupport.py
View file @
9972be18
...
@@ -10,9 +10,10 @@
...
@@ -10,9 +10,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
__doc__
=
"""Copy interface"""
"""Copy interface
__version__
=
'$Revision: 1.91 $'
[
11
:
-
2
]
$Id$
"""
import
sys
,
Globals
,
Moniker
,
tempfile
,
ExtensionClass
import
sys
,
Globals
,
Moniker
,
tempfile
,
ExtensionClass
from
marshal
import
loads
,
dumps
from
marshal
import
loads
,
dumps
from
urllib
import
quote
,
unquote
from
urllib
import
quote
,
unquote
...
...
lib/python/OFS/DTMLDocument.py
View file @
9972be18
...
@@ -10,10 +10,10 @@
...
@@ -10,10 +10,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
"""DTML Document objects."""
"""DTML Document objects.
__version__
=
'$Revision: 1.51 $'
[
11
:
-
2
]
$Id$
"""
from
ZPublisher.Converters
import
type_converters
from
ZPublisher.Converters
import
type_converters
from
Globals
import
HTML
,
DTMLFile
,
MessageDialog
from
Globals
import
HTML
,
DTMLFile
,
MessageDialog
from
OFS.content_types
import
guess_content_type
from
OFS.content_types
import
guess_content_type
...
...
lib/python/OFS/DTMLMethod.py
View file @
9972be18
...
@@ -10,10 +10,10 @@
...
@@ -10,10 +10,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
"""DTML Method objects."""
"""DTML Method objects.
__version__
=
'$Revision: 1.85 $'
[
11
:
-
2
]
$Id$
"""
import
History
import
History
from
Globals
import
HTML
,
DTMLFile
,
MessageDialog
from
Globals
import
HTML
,
DTMLFile
,
MessageDialog
from
SimpleItem
import
Item_w__name__
,
pretty_tb
from
SimpleItem
import
Item_w__name__
,
pretty_tb
...
...
lib/python/OFS/DefaultObservable.py
View file @
9972be18
...
@@ -10,15 +10,13 @@
...
@@ -10,15 +10,13 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
__doc__
=
"""Implement Observable interface (see
"""Implement Observable interface (see
http://www.zope.org/Members/michel/Projects/Interfaces/ObserverAndNotification)
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
This class is intended to be used as a mixin (note that it doesn't
from any Zope persistence classes, for instance).
derive from any Zope persistence classes, for instance).
$Id$"""
__version__
=
'$Revision: 1.7 $'
[
11
:
-
2
]
$Id$
"""
from
types
import
StringType
from
types
import
StringType
class
DefaultObservable
:
class
DefaultObservable
:
...
...
lib/python/OFS/Document.py
View file @
9972be18
...
@@ -10,10 +10,10 @@
...
@@ -10,10 +10,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
"""Deprecated - use DTMLMethod"""
"""Deprecated - use DTMLMethod
__version__
=
'$Revision: 1.76 $'
[
11
:
-
2
]
$Id$
"""
import
DTMLMethod
import
DTMLMethod
Document
=
DTMLMethod
.
DTMLMethod
Document
=
DTMLMethod
.
DTMLMethod
...
...
lib/python/OFS/FindSupport.py
View file @
9972be18
...
@@ -10,10 +10,10 @@
...
@@ -10,10 +10,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
__doc__
=
"""Find support"""
"""Find support
__version__
=
'$Revision: 1.33 $'
[
11
:
-
2
]
$Id$
"""
import
sys
,
os
,
time
,
Globals
,
ExtensionClass
import
sys
,
os
,
time
,
Globals
,
ExtensionClass
from
DocumentTemplate.DT_Util
import
Eval
from
DocumentTemplate.DT_Util
import
Eval
from
AccessControl.Permission
import
name_trans
from
AccessControl.Permission
import
name_trans
...
...
lib/python/OFS/Folder.py
View file @
9972be18
...
@@ -10,15 +10,12 @@
...
@@ -10,15 +10,12 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
"""Folder object
"""Folder object
Folders are the basic container objects and are analogous to directories.
Folders are the basic container objects and are analogous to directories.
$Id$"""
$Id$
"""
__version__
=
'$Revision: 1.104 $'
[
11
:
-
2
]
import
Globals
,
SimpleItem
,
ObjectManager
,
PropertyManager
import
Globals
,
SimpleItem
,
ObjectManager
,
PropertyManager
import
AccessControl.Role
,
webdav
.
Collection
,
FindSupport
import
AccessControl.Role
,
webdav
.
Collection
,
FindSupport
from
webdav.WriteLockInterface
import
WriteLockInterface
from
webdav.WriteLockInterface
import
WriteLockInterface
...
...
lib/python/OFS/History.py
View file @
9972be18
...
@@ -10,10 +10,10 @@
...
@@ -10,10 +10,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
"""Object Histories"""
"""Object Histories
__version__
=
'$Revision: 1.18 $'
[
11
:
-
2
]
$Id$
"""
import
Globals
,
ExtensionClass
,
difflib
import
Globals
,
ExtensionClass
,
difflib
from
DateTime
import
DateTime
from
DateTime
import
DateTime
from
Acquisition
import
Implicit
,
aq_base
from
Acquisition
import
Implicit
,
aq_base
...
...
lib/python/OFS/Image.py
View file @
9972be18
...
@@ -10,10 +10,10 @@
...
@@ -10,10 +10,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
"""Image object"""
"""Image object
__version__
=
'$Revision: 1.152 $'
[
11
:
-
2
]
$Id$
"""
import
Globals
,
struct
import
Globals
,
struct
from
OFS.content_types
import
guess_content_type
from
OFS.content_types
import
guess_content_type
from
Globals
import
DTMLFile
from
Globals
import
DTMLFile
...
...
lib/python/OFS/Moniker.py
View file @
9972be18
...
@@ -17,10 +17,8 @@
...
@@ -17,10 +17,8 @@
a real object that retains its correct version context
a real object that retains its correct version context
and aquisition relationships via a simple interface.
and aquisition relationships via a simple interface.
$Id$
"""
"""
__version__
=
'$Revision: 1.16 $'
[
11
:
-
2
]
import
Globals
import
Globals
class
Moniker
:
class
Moniker
:
...
...
lib/python/OFS/ObjectManager.py
View file @
9972be18
...
@@ -10,12 +10,10 @@
...
@@ -10,12 +10,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
__doc__
=
"""Object Manager
"""Object Manager
$Id$"""
__version__
=
'$Revision: 1.175 $'
[
11
:
-
2
]
$Id$
"""
import
App.Management
,
Acquisition
,
Globals
,
CopySupport
,
Products
import
App.Management
,
Acquisition
,
Globals
,
CopySupport
,
Products
import
os
,
App
.
FactoryDispatcher
,
re
,
Products
import
os
,
App
.
FactoryDispatcher
,
re
,
Products
from
OFS.Traversable
import
Traversable
from
OFS.Traversable
import
Traversable
...
...
lib/python/OFS/PropertyManager.py
View file @
9972be18
...
@@ -10,10 +10,10 @@
...
@@ -10,10 +10,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
"""Property management
"""Property management"""
$Id$
__version__
=
'$Revision: 1.56 $'
[
11
:
-
2
]
"""
import
ExtensionClass
,
Globals
import
ExtensionClass
,
Globals
import
ZDOM
import
ZDOM
from
PropertySheets
import
DefaultPropertySheets
,
vps
from
PropertySheets
import
DefaultPropertySheets
,
vps
...
...
lib/python/OFS/PropertySheets.py
View file @
9972be18
...
@@ -10,11 +10,10 @@
...
@@ -10,11 +10,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
"""Property sheets
"""Property sheets"""
$Id$
"""
__version__
=
'$Revision: 1.95 $'
[
11
:
-
2
]
import
time
,
App
.
Management
,
Globals
,
sys
import
time
,
App
.
Management
,
Globals
,
sys
from
webdav.WriteLockInterface
import
WriteLockInterface
from
webdav.WriteLockInterface
import
WriteLockInterface
from
ZPublisher.Converters
import
type_converters
from
ZPublisher.Converters
import
type_converters
...
...
lib/python/OFS/SimpleItem.py
View file @
9972be18
...
@@ -10,16 +10,15 @@
...
@@ -10,16 +10,15 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
'''
This module implements a simple item mix-in for objects that have a
"""
This module implements a simple item mix-in for objects that have a
very simple (e.g. one-screen) management interface, like documents,
very simple (e.g. one-screen) management interface, like documents,
Aqueduct database adapters, etc.
Aqueduct database adapters, etc.
This module can also be used as a simple template for implementing new
This module can also be used as a simple template for implementing new
item types.
item types.
$Id$'''
$Id$
__version__
=
'$Revision: 1.110 $'
[
11
:
-
2
]
"""
import
re
,
sys
,
Globals
,
App
.
Management
,
Acquisition
,
App
.
Undo
import
re
,
sys
,
Globals
,
App
.
Management
,
Acquisition
,
App
.
Undo
import
AccessControl.Role
,
AccessControl
.
Owned
,
App
.
Common
import
AccessControl.Role
,
AccessControl
.
Owned
,
App
.
Common
from
webdav.Resource
import
Resource
from
webdav.Resource
import
Resource
...
...
lib/python/OFS/Traversable.py
View file @
9972be18
...
@@ -10,12 +10,10 @@
...
@@ -10,12 +10,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
'''This module implements a mix-in for traversable objects.
"""This module implements a mix-in for traversable objects.
$Id$'''
__version__
=
'$Revision: 1.24 $'
[
11
:
-
2
]
$Id$
"""
from
Acquisition
import
Acquired
,
aq_inner
,
aq_parent
,
aq_base
from
Acquisition
import
Acquired
,
aq_inner
,
aq_parent
,
aq_base
from
AccessControl
import
getSecurityManager
from
AccessControl
import
getSecurityManager
from
AccessControl
import
Unauthorized
from
AccessControl
import
Unauthorized
...
...
lib/python/OFS/content_types.py
View file @
9972be18
...
@@ -10,9 +10,10 @@
...
@@ -10,9 +10,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
"""A utility module for content-type handling."""
"""A utility module for content-type handling.
__version__
=
'$Revision: 1.20 $'
[
11
:
-
2
]
$Id$
"""
import
mimetypes
import
mimetypes
import
os.path
import
os.path
import
re
import
re
...
...
lib/python/OFS/rPickle.py
View file @
9972be18
...
@@ -10,11 +10,10 @@
...
@@ -10,11 +10,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
"""Restricted unpickler"""
"""Restricted unpickler
__version__
=
'$Revision: 1.7 $'
[
11
:
-
2
]
$Id$
"""
import
pickle
import
pickle
reg
=
{}
reg
=
{}
...
...
lib/python/ZTUtils/Batch.py
View file @
9972be18
...
@@ -10,11 +10,10 @@
...
@@ -10,11 +10,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
__doc__
=
'''Batch class, for iterating over a sequence in batches
"""Batch class, for iterating over a sequence in batches
$Id$'''
__version__
=
'$Revision: 1.10 $'
[
11
:
-
2
]
$Id$
"""
from
ExtensionClass
import
Base
from
ExtensionClass
import
Base
class
LazyPrevBatch
(
Base
):
class
LazyPrevBatch
(
Base
):
...
...
lib/python/ZTUtils/Iterator.py
View file @
9972be18
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
__doc__
=
'''
Iterator class
"""
Iterator class
Unlike the builtin iterators of Python 2.2+, these classes are
Unlike the builtin iterators of Python 2.2+, these classes are
designed to maintain information about the state of an iteration.
designed to maintain information about the state of an iteration.
...
@@ -18,8 +18,8 @@ The Iterator() function accepts either a sequence or a Python
...
@@ -18,8 +18,8 @@ The Iterator() function accepts either a sequence or a Python
iterator. The next() method fetches the next item, and returns
iterator. The next() method fetches the next item, and returns
true if it succeeds.
true if it succeeds.
$Id$
'''
$Id$
__version__
=
'$Revision: 1.11 $'
[
11
:
-
2
]
"""
class
Iterator
:
class
Iterator
:
'''Simple Iterator class'''
'''Simple Iterator class'''
...
...
lib/python/ZTUtils/SimpleTree.py
View file @
9972be18
...
@@ -10,11 +10,10 @@
...
@@ -10,11 +10,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
__doc__
=
'''Simple Tree classes
"""Simple Tree classes
$Id$'''
__version__
=
'$Revision: 1.5 $'
[
11
:
-
2
]
$Id$
"""
from
Tree
import
TreeMaker
,
TreeNode
,
b2a
from
Tree
import
TreeMaker
,
TreeNode
,
b2a
from
cgi
import
escape
from
cgi
import
escape
...
...
lib/python/ZTUtils/Tree.py
View file @
9972be18
...
@@ -10,11 +10,10 @@
...
@@ -10,11 +10,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
__doc__
=
'''Tree manipulation classes
"""Tree manipulation classes
$Id$'''
__version__
=
'$Revision: 1.19 $'
[
11
:
-
2
]
$Id$
"""
from
Acquisition
import
Explicit
from
Acquisition
import
Explicit
from
ComputedAttribute
import
ComputedAttribute
from
ComputedAttribute
import
ComputedAttribute
from
types
import
ListType
,
TupleType
from
types
import
ListType
,
TupleType
...
...
lib/python/ZTUtils/Zope.py
View file @
9972be18
...
@@ -10,11 +10,10 @@
...
@@ -10,11 +10,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
__doc__
=
'''Zope-specific versions of ZTUTils classes
"""Zope-specific versions of ZTUTils classes
$Id$'''
__version__
=
'$Revision: 1.15 $'
[
11
:
-
2
]
$Id$
"""
import
sys
,
cgi
,
urllib
,
cgi
import
sys
,
cgi
,
urllib
,
cgi
from
Tree
import
encodeExpansion
,
decodeExpansion
,
TreeMaker
from
Tree
import
encodeExpansion
,
decodeExpansion
,
TreeMaker
from
SimpleTree
import
SimpleTreeMaker
from
SimpleTree
import
SimpleTreeMaker
...
...
lib/python/ZTUtils/__init__.py
View file @
9972be18
...
@@ -10,10 +10,10 @@
...
@@ -10,10 +10,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
__doc__
=
'''
Package of template utility classes and functions.
"""
Package of template utility classes and functions.
$Id$
'''
$Id$
__version__
=
'$Revision: 1.6 $'
[
11
:
-
2
]
"""
from
Batch
import
Batch
from
Batch
import
Batch
from
Iterator
import
Iterator
from
Iterator
import
Iterator
...
...
utilities/check_catalog.py
View file @
9972be18
#!/usr/bin/env python2.3
#!/usr/bin/env python2.3
##############################################################################
##############################################################################
#
#
# Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
# Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
...
@@ -12,11 +11,10 @@
...
@@ -12,11 +11,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
"""Script to check consistency of a ZCatalog
""" script to consistency of a ZCatalog """
$Id$
"""
__version__
=
'$Revision: 1.6 $'
[
11
:
-
2
]
import
Zope
import
Zope
import
os
,
sys
,
re
,
getopt
import
os
,
sys
,
re
,
getopt
from
types
import
IntType
from
types
import
IntType
...
...
utilities/requestprofiler.py
View file @
9972be18
#!/usr/bin/env python2.3
#!/usr/bin/env python2.3
##############################################################################
##############################################################################
#
#
# Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
# Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
...
@@ -12,11 +11,10 @@
...
@@ -12,11 +11,10 @@
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
#
#
##############################################################################
##############################################################################
"""Request log profiler script
""" Request log profiler script """
$Id$
"""
__version__
=
'$Revision: 1.19 $'
[
11
:
-
2
]
import
sys
,
time
,
getopt
,
math
,
cPickle
import
sys
,
time
,
getopt
,
math
,
cPickle
from
types
import
StringType
from
types
import
StringType
try
:
import
gzip
try
:
import
gzip
...
...
utilities/zpasswd.py
View file @
9972be18
...
@@ -39,9 +39,6 @@ for all necessary information. The available options are:
...
@@ -39,9 +39,6 @@ for all necessary information. The available options are:
Filename is required and should be the name of the file to store the
Filename is required and should be the name of the file to store the
information in (usually "inituser" or "access").
information in (usually "inituser" or "access").
"""
"""
__version__
=
'$Revision: 1.5 $ '
[
11
:
-
2
]
import
sys
,
sha
,
binascii
,
random
,
getopt
,
getpass
,
os
import
sys
,
sha
,
binascii
,
random
,
getopt
,
getpass
,
os
try
:
try
:
...
...
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