1 |
commit: 290108eeb6ddf01efcafcca9bdb9e109ce9af009 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 30 02:09:13 2011 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 30 02:09:13 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=290108ee |
7 |
|
8 |
dblink.treewalk: remove dowgrade check |
9 |
|
10 |
This code is unused since commit |
11 |
a37eb8ebd2fad3f8074490a061f067e2c637f05d. |
12 |
|
13 |
--- |
14 |
pym/portage/dbapi/vartree.py | 9 --------- |
15 |
1 files changed, 0 insertions(+), 9 deletions(-) |
16 |
|
17 |
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py |
18 |
index afcbceb..1a38d42 100644 |
19 |
--- a/pym/portage/dbapi/vartree.py |
20 |
+++ b/pym/portage/dbapi/vartree.py |
21 |
@@ -3231,10 +3231,6 @@ class dblink(object): |
22 |
if not os.path.exists(self.dbcatdir): |
23 |
ensure_dirs(self.dbcatdir) |
24 |
|
25 |
- otherversions = [] |
26 |
- for v in self.vartree.dbapi.cp_list(self.mysplit[0]): |
27 |
- otherversions.append(v.split("/")[1]) |
28 |
- |
29 |
cp = self.mysplit[0] |
30 |
slot_atom = "%s:%s" % (cp, slot) |
31 |
|
32 |
@@ -3805,11 +3801,6 @@ class dblink(object): |
33 |
showMessage(_("!!! FAILED postinst: ")+str(a)+"\n", |
34 |
level=logging.ERROR, noiselevel=-1) |
35 |
|
36 |
- downgrade = False |
37 |
- for v in otherversions: |
38 |
- if pkgcmp(catpkgsplit(self.pkg)[1:], catpkgsplit(v)[1:]) < 0: |
39 |
- downgrade = True |
40 |
- |
41 |
# Lock the config memory file to prevent symlink creation |
42 |
# in merge_contents from overlapping with env-update. |
43 |
self.vartree.dbapi._fs_lock() |