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