Remove comment on changing Base.munge => it's used by become.py

This commit is contained in:
Toshio Kuratomi 2015-03-23 17:41:02 -07:00
parent 63c54035de
commit 6ba24e9fa1

View file

@ -97,9 +97,6 @@ class Base:
def munge(self, ds): def munge(self, ds):
''' infrequently used method to do some pre-processing of legacy terms ''' ''' infrequently used method to do some pre-processing of legacy terms '''
### FIXME: Can't find any classes with methods named
# _munge_base_class.__name__ so maybe Base.munge should be reduced down
# to return ds
for base_class in self.__class__.mro(): for base_class in self.__class__.mro():
method = getattr(self, "_munge_%s" % base_class.__name__.lower(), None) method = getattr(self, "_munge_%s" % base_class.__name__.lower(), None)
if method: if method: