It would be nice if people would actually check if what they check in
authorFabian Groffen <grobian@gentoo.org>
Sun, 13 May 2007 21:01:43 +0000 (21:01 -0000)
committerFabian Groffen <grobian@gentoo.org>
Sun, 13 May 2007 21:01:43 +0000 (21:01 -0000)
some sort of works.  This doesn't, i.e. it generates a KeyError.  With
my little knowledge of Python I turn it into this, which at least allows
me to run "emerge".

svn path=/main/branches/prefix/; revision=6534

pym/emerge/__init__.py

index 7e4d6870a18b2e77493ba0deb0304c5ba1c48222..cf2b6e786aa2144c26ec09fc80c04ad7a55526be 100644 (file)
@@ -5417,7 +5417,7 @@ def emerge_main():
        if "candy" in settings.features:
                spinner.update = spinner.update_scroll
 
-       if not myopts["--quiet"]:
+       if "--quiet" not in myopts:
                portage.deprecated_profile_check()
 
        #Freeze the portdbapi for enhanced performance: