[Zope-CVS] SVN: zversioning/trunk/src/versioning/repository.py
syntax correction
Tobias Ahlers
tobias.ahlers at web.de
Wed Oct 13 04:42:01 EDT 2004
Log message for revision 28047:
syntax correction
Changed:
U zversioning/trunk/src/versioning/repository.py
-=-
Modified: zversioning/trunk/src/versioning/repository.py
===================================================================
--- zversioning/trunk/src/versioning/repository.py 2004-10-13 08:31:13 UTC (rev 28046)
+++ zversioning/trunk/src/versioning/repository.py 2004-10-13 08:41:59 UTC (rev 28047)
@@ -56,8 +56,8 @@
and checkout information.
"""
- zope.interface.implements(interface.ICheckoutAware)
- __used_for__ = IHistoryStorage
+ zope.interface.implements(interfaces.ICheckoutAware)
+ __used_for__ = interfaces.IHistoryStorage
def markAsCheckedIn(self, obj):
"""Fake checkin mark doing anything.
@@ -94,13 +94,13 @@
"""
zope.interface.implements(
- ICopyModifyMergeRepository,
- IIntrospectableRepository,
+ interfaces.ICopyModifyMergeRepository,
+ interfaces.IIntrospectableRepository,
)
def __init__(self):
self.histories = zapi.getUtility(IHistoryStorage)
- self.checkout_blah = zapi.
+ #self.checkout_blah = zapi.
def applyVersionControl(self, obj):
"""Put the passed object under version control.
@@ -159,7 +159,7 @@
(obj, self.histories), IVersionableAspects)
return versionable_state.getApsectsHistory(specifier)
- def getMetadataHistory(self, obj)
+ def getMetadataHistory(self, obj):
versionable_state = zapi.getMultiAdapter(
(obj, self.histories), IVersionableAspects)
return versionable_state.getMetadataHistory(specifier)
@@ -170,8 +170,8 @@
"""
zope.interface.implements(
- ICheckoutCheckinRepository,
- IIntrospectableRepository,
+ interfaces.ICheckoutCheckinRepository,
+ interfaces.IIntrospectableRepository,
)
def saveAsVersion(self, obj):
More information about the Zope-CVS
mailing list