[Zope-CVS] CVS: Products/Scheduler - __init__.py:1.2 IScheduler.py:NONE
Tres Seaver
tseaver@zope.com
Sun, 29 Sep 2002 15:34:27 -0400
Update of /cvs-repository/Products/Scheduler
In directory cvs.zope.org:/tmp/cvs-serv514
Modified Files:
__init__.py
Removed Files:
IScheduler.py
Log Message:
- Move IScheduler into sub-package.
- Export individual interfaces by name from top-level product, e.g.
clients should use::
from Products.Scheduler import IScheduler
to gain access to the IScheduler interface.
=== Products/Scheduler/__init__.py 1.1.1.1 => 1.2 ===
--- Products/Scheduler/__init__.py:1.1.1.1 Mon Jun 10 13:03:03 2002
+++ Products/Scheduler/__init__.py Sun Sep 29 15:34:26 2002
@@ -20,6 +20,13 @@
import Scheduler, SchedulerPermissions
+from interfaces.IScheduler import IScheduler
+from interfaces.IScheduler import IScheduledEvent
+from interfaces.IScheduler import IDescheduledEvent
+from interfaces.IScheduler import ITimeEvent
+
+class ITimeEvent(Interface.Base):
+
def initialize(context):
context.registerClass(
Scheduler.Scheduler,
=== Removed File Products/Scheduler/IScheduler.py ===