| Line | |
|---|
| 1 | __doc__ = """Rplain initialization module.""" |
|---|
| 2 | __version__ = '0.1' |
|---|
| 3 | |
|---|
| 4 | import Rplain |
|---|
| 5 | #--cybertools--- |
|---|
| 6 | import jeep |
|---|
| 7 | import randomname |
|---|
| 8 | import plot |
|---|
| 9 | import rstat |
|---|
| 10 | #--------------- |
|---|
| 11 | |
|---|
| 12 | def initialize(context): |
|---|
| 13 | try: |
|---|
| 14 | context.registerClass( |
|---|
| 15 | Rplain.Rplain, |
|---|
| 16 | permission = 'Add RPlains', |
|---|
| 17 | constructors = ( |
|---|
| 18 | Rplain.manage_addRplain, |
|---|
| 19 | Rplain.manage_addRplain), |
|---|
| 20 | icon = 'www/RPlain.gif' |
|---|
| 21 | ) |
|---|
| 22 | |
|---|
| 23 | except: |
|---|
| 24 | import sys, traceback, string |
|---|
| 25 | type, val, tb = sys.exc_info() |
|---|
| 26 | sys.stderr.write(string.join(traceback.format_exception(type, val, tb), '')) |
|---|
| 27 | del type, val, tb |
|---|
Note: See
TracBrowser
for help on using the repository browser.