Issue 1511734
Created on 2006-06-24 09:51 by fresh, last changed 2006-06-24 09:51 by fresh.
msg2856 |
Author: [hidden] (fresh) |
Date: 2006-06-24 09:51 |
|
These changes should probably go in for earlier
versions too, I have no idea how this code managed to
work before :-S
cheers,
Chris
Index: Products/ZRoundup/__init__.py
===================================================================
--- Products/ZRoundup/__init__.py (revision 1988)
+++ Products/ZRoundup/__init__.py (working copy)
@@ -37,12 +37,13 @@
raise ValueError, "Can't determine where
ZRoundup is installed"
# product initialisation
-import ZRoundup
+from ZRoundup import ZRoundup, manage_addZRoundupForm,
manage_addZRoundup
def initialize(context):
context.registerClass(
- ZRoundup, meta_type = 'Z Roundup',
+ ZRoundup,
+ meta_type = 'Z Roundup',
constructors = (
- ZRoundup.manage_addZRoundupForm,
ZRoundup.manage_addZRoundup
+ manage_addZRoundupForm, manage_addZRoundup
)
)
|
|
Date |
User |
Action |
Args |
2006-06-24 09:51:21 | fresh | create | |
|