source: main/waeup.sirp/trunk/src/waeup/sirp/csvfile/meta.py @ 4951

Last change on this file since 4951 was 4920, checked in by uli, 15 years ago

Make unit tests run again with the new package layout.

File size: 453 bytes
Line 
1"""Meta configuration for waeup.sirp.csvfile components.
2"""
3import martian
4import waeup.sirp.csvfile.csvfile
5from waeup.sirp.csvfile import CSVFile
6
7# This grokker fills the registry on startup, with any class that is
8# derived from `CSVFileWrapper`...
9class CSVFileWrapperGrokker(martian.ClassGrokker):
10    martian.component(CSVFile)
11    def execute(self, klass, **kw):
12        waeup.sirp.csvfile.csvfile.csvwrappers.append(klass)
13        return True
Note: See TracBrowser for help on using the repository browser.