instance of type. Whatever this means, it appears to happen a lot
during e.g. ebuild .... digest, not sure why (yet).
svn path=/main/branches/prefix/; revision=6992
def check_config_instance(test):
if not isinstance(test, config):
- raise TypeError("Invalid type for config object: %s" % test.__class__)
+ # raise TypeError("Invalid type for config object: %s" % test.__class__)
+ print "WARNING: Invalid type for config object: %s" % test.__class__
+ print "WARNING: no instance of: %s" % config.__class__
class config(object):
"""