Commit a172bbeb authored by Hanno Schlichting's avatar Hanno Schlichting

Lots of CVS fossils removed

parent 055c785b
......@@ -10,9 +10,7 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__doc__="""System management components"""
__version__='$Revision: 1.94 $'[11:-2]
"""System management components"""
from cgi import escape
from cStringIO import StringIO
......
......@@ -13,9 +13,7 @@
'''Cache management support.
This class is mixed into the database manager in App.ApplicationManager.
$Id$'''
__version__='$Revision: 1.31 $'[11:-2]
'''
from AccessControl.class_init import InitializeClass
from App.special_dtml import DTMLFile
......
......@@ -10,11 +10,8 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
"""Commonly used utility functions."""
__version__='$Revision: 1.20 $'[11:-2]
import os
import sys
import time
......
......@@ -11,8 +11,6 @@
#
##############################################################################
__version__ = "$Revision: 1.8 $"[11:-2]
from AccessControl.class_init import InitializeClass
from AccessControl.SecurityInfo import ClassSecurityInfo
from AccessControl.SecurityManagement import getSecurityManager
......
......@@ -31,8 +31,6 @@
target='_top')
</PRE>"""
__version__='$Revision: 1.9 $'[11:-2]
from App.special_dtml import HTML
MessageDialog = HTML("""
......
......@@ -10,11 +10,8 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
"""Stick directory information in the built-in namespace."""
__version__='$Revision: 1.13 $'[11:-2]
import __builtin__
import os
import sys
......
......@@ -12,8 +12,6 @@
##############################################################################
"""Image object that is stored in a file"""
__version__='$Revision: 1.20 $'[11:-2]
import os
import os.path
import stat
......
......@@ -11,8 +11,6 @@
#
##############################################################################
"""Standard management interface support
$Id$
"""
from cgi import escape
......
......@@ -11,9 +11,8 @@
#
##############################################################################
"""Patch for Persistent to support IPersistentExtra.
$Id$
"""
from DateTime.DateTime import DateTime
class PersistentUtil:
......
......@@ -11,8 +11,6 @@
#
##############################################################################
"""Objects providing context for product initialization
$Id$
"""
from logging import getLogger
......
......@@ -12,7 +12,6 @@
##############################################################################
'''
Functions for refreshing products.
$Id$
'''
from logging import getLogger
......
......@@ -11,8 +11,6 @@
#
##############################################################################
"""Undo support.
$Id$
"""
from Acquisition import aq_inner
......
......@@ -10,9 +10,7 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""App z3 interfaces.
$Id$
"""App interfaces.
"""
from zope.interface import Attribute
......
......@@ -10,10 +10,8 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__doc__='''Simple module for writing tar files
$Id$'''
__version__='$Revision: 1.8 $'[11:-2]
"""Simple module for writing tar files
"""
import sys, time, zlib
try:
......
......@@ -12,11 +12,11 @@
#
##############################################################################
"""Tests for the CacheManager.
$Id$
"""
import unittest
class DummyConnection:
def __init__(self, db):
......
......@@ -14,7 +14,6 @@
o N.B.: DO NOT IMPORT ANYTHING HERE! This module is just for shared data!
"""
__version__='$Revision: 1.56 $'[11:-2]
# BBB imports
from zope.deferredimport import deprecated
......
......@@ -11,8 +11,6 @@
#
##############################################################################
""" API documentation help topics.
$Id$
"""
import types
......
......@@ -12,9 +12,6 @@
##############################################################################
"""Help system support module"""
__version__='$Revision: 1.12 $'[11:-2]
import re
import sys
......@@ -86,8 +83,7 @@ class object(Implicit):
def version(self):
if hasattr(self._obj_, '__version__'):
return self._obj_.__version__
return None
tpId =get_name
tpURL =get_name
......
......@@ -12,8 +12,6 @@
##############################################################################
"""Object Reference implementation"""
__version__='$Revision: 1.10 $'[11:-2]
import sys
from urllib import quote
......
......@@ -11,8 +11,6 @@
#
##############################################################################
"""Application support
$Id$
"""
import os, sys, traceback
......
......@@ -11,9 +11,8 @@
#
##############################################################################
"""Cacheable object and cache management base classes.
$Id$
"""
from logging import getLogger
import sys
import time
......
......@@ -11,8 +11,6 @@
#
##############################################################################
"""Copy interface
$Id$
"""
from cgi import escape
......
......@@ -14,9 +14,8 @@
http://www.zope.org/Members/michel/Projects/Interfaces/ObserverAndNotification)
This class is intended to be used as a mixin (note that it doesn't
derive from any Zope persistence classes, for instance).
$Id$
"""
from types import StringType
class DefaultObservable:
......
......@@ -11,9 +11,8 @@
#
##############################################################################
"""Deprecated - use DTMLMethod
$Id$
"""
import DTMLMethod
Document=DTMLMethod.DTMLMethod
......
......@@ -17,8 +17,6 @@ provided by existing methods such as PUT and manage_delObjects.
All FTP methods should be governed by a single permission:
'FTP access'.
$Id$
"""
from zope.interface import implements
......
......@@ -11,8 +11,6 @@
#
##############################################################################
"""Find support
$Id$
"""
from string import translate
......
......@@ -13,8 +13,6 @@
"""Folder object
Folders are the basic container objects and are analogous to directories.
$Id$
"""
from AccessControl.class_init import InitializeClass
......
......@@ -11,9 +11,8 @@
#
##############################################################################
"""Object Histories
$Id$
"""
from cgi import escape
import difflib
from struct import pack, unpack
......
......@@ -11,9 +11,8 @@
#
##############################################################################
"""Image object
$Id$
"""
from cgi import escape
from cStringIO import StringIO
from mimetools import choose_boundary
......
......@@ -16,8 +16,6 @@
persistent object. A moniker can be turned back into
a real object that retains its correct version context
and aquisition relationships via a simple interface.
$Id$
"""
class Moniker:
......
......@@ -11,8 +11,6 @@
#
##############################################################################
"""Object Manager
$Id$
"""
from cgi import escape
......
......@@ -11,8 +11,6 @@
#
##############################################################################
""" Order support for 'Object Manager'.
$Id$
"""
import warnings
......
......@@ -11,8 +11,6 @@
#
##############################################################################
""" 'Folder' with order support.
$Id$
"""
from AccessControl.SecurityManagement import getSecurityManager
......
......@@ -11,8 +11,6 @@
#
##############################################################################
"""Property management
$Id$
"""
from cgi import escape
......
......@@ -11,9 +11,8 @@
#
##############################################################################
"""Property sheets
$Id$
"""
from cgi import escape
import time
import sys
......
......@@ -16,8 +16,6 @@ Aqueduct database adapters, etc.
This module can also be used as a simple template for implementing new
item types.
$Id$
"""
import marshal
......
......@@ -11,8 +11,6 @@
#
##############################################################################
"""This module implements a mix-in for traversable objects.
$Id$
"""
from urllib import quote
......
......@@ -13,8 +13,6 @@
##############################################################################
"""
OFS event definitions.
$Id$
"""
from zope.interface import implements
......
......@@ -11,9 +11,8 @@
#
##############################################################################
"""OFS interfaces.
$Id$
"""
from zope.container.interfaces import IContainer
from zope.interface import Attribute
from zope.interface import Interface
......
......@@ -43,8 +43,6 @@ recovered by piping the output through
See module comments for details and programmatic interface.
"""
__version__ = 1, 4, 0
# SequenceMatcher tries to compute a "human-friendly diff" between
# two sequences (chiefly picturing a file as a sequence of lines,
# and a line as a sequence of characters, here). Unlike e.g. UNIX(tm)
......
......@@ -11,9 +11,8 @@
#
##############################################################################
"""Restricted unpickler
$Id$
"""
import pickle
reg={}
......
......@@ -11,8 +11,6 @@
#
##############################################################################
"""Properties unit tests.
$Id$
"""
import unittest
......
......@@ -11,8 +11,6 @@
#
##############################################################################
"""Traverse unit tests.
$Id$
"""
import unittest
......
......@@ -12,8 +12,6 @@
#
##############################################################################
"""Test events
$Id$
"""
# These classes aren't defined in the doctest because otherwise
......
......@@ -12,8 +12,6 @@
#
##############################################################################
"""Unit tests for the registerClass directive.
$Id$
"""
from AccessControl.class_init import InitializeClass
......
......@@ -12,8 +12,6 @@
#
##############################################################################
"""Initialize the Five product
$Id$
"""
# public API provided by Five
......
......@@ -12,8 +12,6 @@
#
##############################################################################
"""Things needed for backward compatibility
$Id$
"""
import Acquisition
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Provide basic browser functionality
$Id$
"""
import Acquisition
import zope.publisher.browser
......
......@@ -17,8 +17,6 @@ The Adding View is used to add new objects to a container. It is sort of a
factory screen.
(original: zope.app.container.browser.adding)
$Id$
"""
__docformat__ = 'restructuredtext'
......
......@@ -13,8 +13,6 @@
##############################################################################
""" Utility functions for decoding browser input and setting the output
encoding.
$Id$
"""
from zope.publisher.browser import isCGI_NAME
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Some menu code
$Id$
"""
import zope.deferredimport
zope.deferredimport.deprecated(
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""A 'PageTemplateFile' without security restrictions.
$Id$
"""
from os.path import basename
from zope.component import getMultiAdapter
from zope.pagetemplate.pagetemplatefile import PageTemplateFile
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Provide basic resource functionality
$Id$
"""
import os
import urllib
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Test fixtures
$Id$
"""
from zope.interface import Interface, implements
from Products.Five import BrowserView
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Test i18n.
$Id$
"""
from zope.i18nmessageid import MessageFactory
_ = MessageFactory('fivetest')
from Products.Five import BrowserView
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Test browser pages
$Id$
"""
from Products.Five import BrowserView
from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile
from OFS.SimpleItem import SimpleItem
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Test skins
$Id$
"""
from zope.publisher.interfaces.browser import IDefaultBrowserLayer
class ITestSkin(IDefaultBrowserLayer):
......
......@@ -12,8 +12,6 @@
#
##############################################################################
"""Test AbsoluteURL
$Id$
"""
def test_absoluteurl():
......
......@@ -12,8 +12,6 @@
#
##############################################################################
"""Test adding views
$Id$
"""
def test_suite():
......
......@@ -12,8 +12,6 @@
#
##############################################################################
"""Unit tests for decode module.
$Id$
"""
def test_processInputs():
......
......@@ -12,8 +12,6 @@
#
##############################################################################
"""Test Default View functionality
$Id$
"""
def test_default_view():
......
......@@ -12,8 +12,6 @@
#
##############################################################################
"""Unit tests for the i18n framework
$Id$
"""
def test_zpt_i18n():
......
......@@ -12,8 +12,6 @@
#
##############################################################################
"""Test browser menus
$Id$
"""
def test_menu():
......
......@@ -12,8 +12,6 @@
#
##############################################################################
"""Test browser pages
$Id$
"""
def test_suite():
......
......@@ -12,8 +12,6 @@
#
##############################################################################
"""Test default view recursion
$Id$
"""
def test_recursion():
......
......@@ -12,8 +12,6 @@
#
##############################################################################
"""Test browser pages
$Id$
"""
def test_suite():
......
......@@ -12,8 +12,6 @@
#
##############################################################################
"""Test Five-traversable classes
$Id$
"""
class SimpleClass(object):
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Five local component look-up support
$Id$
"""
import zope.interface
import zope.component
import zope.event
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Component browser views
$Id$
"""
from Products.Five.browser import BrowserView
from Products.Five.component import enableSite, disableSite
from Products.Five.component.interfaces import IObjectManagerSite
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Component interfaces
$Id$
"""
from zope.location.interfaces import ISite
from OFS.interfaces import IObjectManager
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Component tests
$Id$
"""
import unittest
from doctest import DocFileSuite
from Testing.ZopeTestCase import FunctionalDocFileSuite
......
......@@ -11,9 +11,6 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""
$Id$
"""
from zope.deferredimport import deprecated
......
......@@ -14,9 +14,8 @@
"""Five-specific directive handlers
These directives are specific to Five and have no equivalents outside of it.
$Id$
"""
import os
import glob
import warnings
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Five ZCML directive schemas
$Id$
"""
from zope.interface import Interface
from zope.browserresource.metadirectives import IBasicResourceInformation
from zope.configuration.fields import GlobalObject, Tokens
......
......@@ -12,8 +12,6 @@
#
##############################################################################
"""Five interfaces
$Id$
"""
from zope.deferredimport import deprecated
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Five security handling
$Id$
"""
from zope.deferredimport import deprecated
deprecated("Please import InitializeClass from App.class_init",
......
......@@ -13,9 +13,8 @@
##############################################################################
"""Use structured monkey-patching to enable ``ISized`` adapters for
Zope 2 objects.
$Id$
"""
from zope.size.interfaces import ISized
from Products.Five import fivemethod, isFiveMethod
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Mimick the zope.app.basicskin skinning system.
$Id$
"""
import zope.interface
import zope.component
from Products.Five.browser import BrowserView
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Demo StandardMacros
$Id$
"""
from Products.Five import StandardMacros as BaseMacros
class StandardMacros(BaseMacros):
......
......@@ -12,8 +12,6 @@
#
##############################################################################
"""Test standard macros
$Id$
"""
def test_standard_macros():
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Adapter test fixtures
$Id$
"""
from zope.interface import implements, Interface
from zope.component import adapts
......
......@@ -12,8 +12,6 @@
#
##############################################################################
"""Boiler plate test module
$Id$
"""
def test_boilerplate():
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Interfaces test fixtures
$Id$
"""
from zope.interface import Interface
class One(object):
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Parrot directive and support classes
$Id$
"""
from zope.interface import Interface
from zope.configuration.fields import GlobalObject
from zope.schema import TextLine
......
......@@ -12,8 +12,6 @@
#
##############################################################################
"""Test the basic ZCML directives
$Id$
"""
def test_directives():
......
......@@ -12,8 +12,6 @@
#
##############################################################################
"""Unit tests for the i18n framework
$Id$
"""
from zope.component.testing import setUp, tearDown
......
......@@ -12,8 +12,6 @@
#
##############################################################################
"""Size adapters for testing
$Id$
"""
from zope.interface import implements
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Test helpers
$Id$
"""
from Products.Five.tests.testing.folder import FiveTraversableFolder
from Products.Five.tests.testing.folder import manage_addFiveTraversableFolder
from Products.Five.tests.testing.folder import manage_addNoVerifyPasteFolder
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Test content objects.
$Id$
"""
from AccessControl.class_init import InitializeClass
from AccessControl.SecurityInfo import ClassSecurityInfo
from Acquisition import Explicit
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Test folders
$Id$
"""
from OFS.Folder import Folder
from OFS.interfaces import IFolder
from zope.interface import implements
......
......@@ -11,8 +11,3 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Python
$Id$
"""
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Simple content class(es) for browser tests
$Id$
"""
from AccessControl.class_init import InitializeClass
from AccessControl.SecurityInfo import ClassSecurityInfo
from OFS.SimpleItem import SimpleItem
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Marker interfaces adapter views.
$Id$
"""
from Products.Five.utilities.interfaces import IMarkerInterfaces
......
......@@ -12,8 +12,6 @@
#
##############################################################################
"""Unit tests for marker interface views.
$Id$
"""
def test_editview():
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Utility Interface Definitions.
$Id$
"""
from zope.interface import Interface
......
......@@ -14,9 +14,8 @@
"""Marker interfaces adapter.
Allows for arbitrary application of marker interfaces to objects.
$Id$
"""
from sets import Set
from zope.interface import implements, implementedBy, providedBy
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Viewlet manager.
$Id$
"""
from Acquisition import aq_base
from AccessControl.ZopeGuards import guarded_hasattr
import zope.interface
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Viewlet ZCML directives.
$Id$
"""
import os
from zope.browserpage.metaconfigure import _handle_for
......
......@@ -12,10 +12,7 @@
#
##############################################################################
"""Viewlet tests
$Id$
"""
__docformat__ = 'restructuredtext'
import unittest
from Testing.ZopeTestCase import FunctionalDocFileSuite
......
......@@ -12,9 +12,8 @@
#
##############################################################################
"""Viewlet.
$Id$
"""
import os
import zope.viewlet.viewlet
from Products.Five.bbb import AcquisitionBBB
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment