From: Fabian Groffen Date: Tue, 26 Jun 2007 17:45:18 +0000 (-0000) Subject: Haven't seen portage meltdowns lately, so we can revert my hack to keep X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=16f055d93a2d4370b3f1c28a6dedff19ca253b2e;p=portage.git Haven't seen portage meltdowns lately, so we can revert my hack to keep it going. svn path=/main/branches/prefix/; revision=7038 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 253659f44..31dafff00 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -820,8 +820,7 @@ def autouse(myvartree, use_cache=1, mysettings=None): def check_config_instance(test): if not isinstance(test, config): - # raise TypeError("Invalid type for config object: %s (should be %s)" % (test.__class__, config)) - print "WARNING: Invalid type for config object: %s (should be %s)" % (test.__class__, config) + raise TypeError("Invalid type for config object: %s (should be %s)" % (test.__class__, config)) class config(object): """