Last change
on this file since 277 was
277,
checked in by mylan, 18 years ago
|
Fix publishing bug
|
File size:
481 bytes
|
Rev | Line | |
---|
[275] | 1 | from zope.interface import Interface |
---|
| 2 | |
---|
| 3 | class IExportDataCorrector(Interface): |
---|
[277] | 4 | """ Inteface for components that do some data correction on export. |
---|
[275] | 5 | """ |
---|
| 6 | |
---|
| 7 | def __call__(data): |
---|
| 8 | """ Correct data given in 'data' argument and return it. |
---|
| 9 | """ |
---|
[277] | 10 | |
---|
| 11 | class IImportDataCorrector(Interface): |
---|
| 12 | """ Inteface for components that do some data correction on import. |
---|
| 13 | """ |
---|
| 14 | |
---|
| 15 | def __call__(data): |
---|
| 16 | """ Correct data given in 'data' argument and return it. |
---|
| 17 | """ |
---|
Note: See
TracBrowser
for help on using the repository browser.