diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-04-25 10:55:31 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-04-25 10:55:31 +0000 |
commit | a54e775609d9ca35ba9181d0576b92e6ec5edbc5 (patch) | |
tree | a8e22c066b0ae561ef51203bdaa93e75e0e24c02 /bin/repoman | |
parent | 73d256ab01f04bd33131f2d10f0a46758e99391e (diff) | |
download | portage-a54e775609d9ca35ba9181d0576b92e6ec5edbc5.tar.gz portage-a54e775609d9ca35ba9181d0576b92e6ec5edbc5.tar.bz2 portage-a54e775609d9ca35ba9181d0576b92e6ec5edbc5.zip |
Remove all dependence on the portage.features global variable.
svn path=/main/trunk/; revision=3233
Diffstat (limited to 'bin/repoman')
-rwxr-xr-x | bin/repoman | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/repoman b/bin/repoman index 129e05720..5c3b13193 100755 --- a/bin/repoman +++ b/bin/repoman @@ -383,7 +383,7 @@ isCvs=False myreporoot=None if os.path.isdir("CVS"): repoman_settings["PORTDIR_OVERLAY"]="" - if "cvs" not in portage.features: + if "cvs" not in repoman_settings.features: print print print red('!!! You do not have ')+bold('FEATURES="cvs" ')+red("enabled...") @@ -859,7 +859,7 @@ for x in scanlist: else: stats["digest.partial"] += 1 fails["digest.partial"].append(y+"::"+myf) - elif "assume-digests" not in portage.features: + elif "assume-digests" not in repoman_settings.features: if os.path.exists(myff): if not portage_checksum.verify_all(myff, mydigests[myf]): stats["digest.fail"] += 1 @@ -1632,7 +1632,7 @@ else: sys.exit(1) # Force an unsigned commit when more than one Manifest needs to be signed. - if repolevel < 3 and "sign" in portage.features: + if repolevel < 3 and "sign" in repoman_settings.features: if "--pretend" in myoptions: print "(/usr/bin/cvs -q commit -F "+commitmessagefile+")" else: @@ -1648,7 +1648,7 @@ else: need_commit = True signed = False - if "sign" in portage.features: + if "sign" in repoman_settings.features: signed = True try: if repolevel==3: # In a package dir |