Fix logic for the message that's show when
authorZac Medico <zmedico@gentoo.org>
Fri, 5 Oct 2007 03:13:52 +0000 (03:13 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 5 Oct 2007 03:13:52 +0000 (03:13 -0000)
--force is disabled. (trunk r7915)

svn path=/main/branches/2.1.2/; revision=7937

bin/repoman

index 6905731c723bebafbfa638f217915eeb59cf3997..49b3d8a64ed5130a17ea9a403edf5449e1a9b7f7 100755 (executable)
@@ -1696,7 +1696,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"