Fix logic for the message that's show when
authorZac Medico <zmedico@gentoo.org>
Thu, 4 Oct 2007 06:46:44 +0000 (06:46 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 4 Oct 2007 06:46:44 +0000 (06:46 -0000)
--force is disabled.

svn path=/main/trunk/; revision=7915

bin/repoman

index a5e832405d81808db119d107daa4f461c19fe48c..d3b0b598d7ae1fdb604721f4a8ec2e5b307cbe9a 100755 (executable)
@@ -1606,7 +1606,7 @@ else:
                        " \"You want to commit even with these QA issues?\n" + \
                        "              I'll take it this time, but I'm not happy.\"\n"
        elif dofail:
-               if "--force" in myoptions:
+               if "--force" in myoptions and not can_force:
                        print bad("The --force option has been disabled due to extraordinary issues.")
                print turquoise("Please fix these important QA issues first.")
                print green("RepoMan sez:"),"\"Make your QA payment on time and you'll never see the likes of me.\"\n"