From 16f055d93a2d4370b3f1c28a6dedff19ca253b2e Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Tue, 26 Jun 2007 17:45:18 +0000 Subject: [PATCH] Haven't seen portage meltdowns lately, so we can revert my hack to keep it going. svn path=/main/branches/prefix/; revision=7038 --- pym/portage/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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): """ -- 2.26.2