[Zope3-checkins] CVS: Zope3/src/zope/component - __init__.py:1.9.2.2 contextdependent.py:1.2.26.2 exceptions.py:1.2.26.1 interfaces.py:1.4.2.2 resource.py:1.2.26.2 service.py:1.3.26.2 skin.py:1.4.10.2 utility.py:1.3.14.2 view.py:1.2.26.2
Albertas Agejevas
alga@codeworks.lt
Mon, 23 Jun 2003 10:21:01 -0400
Update of /cvs-repository/Zope3/src/zope/component
In directory cvs.zope.org:/tmp/cvs-serv16963/src/zope/component
Modified Files:
Tag: cw-mail-branch
__init__.py contextdependent.py exceptions.py interfaces.py
resource.py service.py skin.py utility.py view.py
Log Message:
One more sync with HEAD.
=== Zope3/src/zope/component/__init__.py 1.9.2.1 => 1.9.2.2 ===
=== Zope3/src/zope/component/contextdependent.py 1.2.26.1 => 1.2.26.2 ===
=== Zope3/src/zope/component/exceptions.py 1.2 => 1.2.26.1 ===
--- Zope3/src/zope/component/exceptions.py:1.2 Wed Dec 25 09:13:31 2002
+++ Zope3/src/zope/component/exceptions.py Mon Jun 23 10:20:30 2003
@@ -14,13 +14,15 @@
from zope.exceptions import NotFoundError
+__all__ = ["ComponentLookupError",
+ "Invalid",
+ "Misused"]
+
class ComponentLookupError(NotFoundError):
- "A component could not be found"
+ """A component could not be found."""
class Invalid(Exception):
- """A component doesn't satisfy a promise
- """
+ """A component doesn't satisfy a promise."""
class Misused(Exception):
- """A component is being used (registered) for the wrong interface
- """
+ """A component is being used (registered) for the wrong interface."""
=== Zope3/src/zope/component/interfaces.py 1.4.2.1 => 1.4.2.2 ===
--- Zope3/src/zope/component/interfaces.py:1.4.2.1 Sun Jun 22 10:23:37 2003
+++ Zope3/src/zope/component/interfaces.py Mon Jun 23 10:20:30 2003
@@ -17,6 +17,7 @@
"""
from zope.interface import Interface, Attribute
+from zope.component.exceptions import *
class IComponentArchitecture(Interface):
"""The Component Architecture is defined by six key services,
=== Zope3/src/zope/component/resource.py 1.2.26.1 => 1.2.26.2 ===
=== Zope3/src/zope/component/service.py 1.3.26.1 => 1.3.26.2 ===
=== Zope3/src/zope/component/skin.py 1.4.10.1 => 1.4.10.2 ===
=== Zope3/src/zope/component/utility.py 1.3.14.1 => 1.3.14.2 ===
=== Zope3/src/zope/component/view.py 1.2.26.1 => 1.2.26.2 ===