python says: myoptions is not defined
authorFabian Groffen <grobian@gentoo.org>
Wed, 24 Oct 2007 14:21:13 +0000 (14:21 -0000)
committerFabian Groffen <grobian@gentoo.org>
Wed, 24 Oct 2007 14:21:13 +0000 (14:21 -0000)
svn path=/main/branches/prefix/; revision=8277

bin/repoman

index 430b44e917b12070c1b0cab832f72b0834fe4205..edfd12120798d1bfce3f64277aa9bfbf4f9f2094 100755 (executable)
@@ -1647,7 +1647,7 @@ if options.mode != 'commit':
                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"
                sys.exit(1)
-elif "--pretend" not in myoptions:
+elif not options.pretend:
        if dofail and can_force and options.force and not options.pretend:
                print green("RepoMan sez:") + \
                        " \"You want to commit even with these QA issues?\n" + \