Last change
on this file was
277,
checked in by mylan, 18 years ago
|
Fix publishing bug
|
File size:
481 bytes
|
Line | |
---|
1 | from zope.interface import Interface |
---|
2 | |
---|
3 | class IExportDataCorrector(Interface): |
---|
4 | """ Inteface for components that do some data correction on export. |
---|
5 | """ |
---|
6 | |
---|
7 | def __call__(data): |
---|
8 | """ Correct data given in 'data' argument and return it. |
---|
9 | """ |
---|
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.