diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-12-06 19:36:05 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-12-06 19:36:05 +0000 |
commit | f3ccb09f2caa4d968c0b18bd68dd23cc0b2a2511 (patch) | |
tree | 0188669f1f8508515f1ccf379ce47152fc7113b0 | |
parent | 2dfc6c49d2bbe4a075657e7ca7053660051a360b (diff) | |
download | portage-f3ccb09f2caa4d968c0b18bd68dd23cc0b2a2511.tar.gz portage-f3ccb09f2caa4d968c0b18bd68dd23cc0b2a2511.tar.bz2 portage-f3ccb09f2caa4d968c0b18bd68dd23cc0b2a2511.zip |
Remove unused depgraph.is_newer_ver_installed() method.
svn path=/main/trunk/; revision=5180
-rwxr-xr-x | bin/emerge | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/bin/emerge b/bin/emerge index 823cbaa2c..603d4213a 100755 --- a/bin/emerge +++ b/bin/emerge @@ -1147,19 +1147,6 @@ class depgraph: # We're true here unless we are missing binaries. return (not missing,myfavorites) - def is_newer_ver_installed(self,myroot,pkg,pkgver): - "if there is a version of pkg installed newer than pkgver, return it" - vardbapi = self.trees[myroot]["vartree"].dbapi - - matches = self.trees[myroot]["vartree"].dbapi.match(pkg) - if matches: - myslot = self.trees[myroot]["porttree"].getslot(pkgver) - for match in matches: - if portage.pkgcmp(portage.catpkgsplit(pkgver)[1:], portage.catpkgsplit(match)[1:]) < 0: - curslot = self.trees[myroot]["vartree"].getslot(match) - if curslot == myslot: - return match - def select_dep(self, myroot, depstring, myparent=None, arg=None, myuse=None, raise_on_missing=False, priority=DepPriority(), rev_deps=False, parent_arg=None): |