it cancels all binary package options.
svn path=/main/branches/2.1.2/; revision=8685
if ("getbinpkg" in settings.features):
myopts["--getbinpkg"] = True
+ if "--buildpkgonly" in myopts:
+ # --buildpkgonly will not merge anything, so
+ # it cancels all binary package options.
+ for opt in ("--getbinpkg", "--getbinpkgonly",
+ "--usepkg", "--usepkgonly"):
+ myopts.pop(opt, None)
+
if "--skipfirst" in myopts and "--resume" not in myopts:
myopts["--resume"] = True