From: zsolt f. <zso...@gm...> - 2008-03-17 10:21:56
|
Adding a metaclass to GrampsType one can eliminate importing and calling init_map in each XxxType class. See attached patch. Also changing the instance = InstanceType(XxxType) statement to instance = XxxType() is required for the above patch, however, this way importing InstanceType isn't needed either in most of the gen.lib modules. Does this make sense?? Cheers, Zsolt |