projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f1b445
)
fix backtrace with -r0 revisions, by Paul Varner, bug #303145
author
Fabian Groffen
<grobian@gentoo.org>
Thu, 4 Feb 2010 19:03:41 +0000
(19:03 -0000)
committer
Fabian Groffen
<grobian@gentoo.org>
Thu, 4 Feb 2010 19:03:41 +0000
(19:03 -0000)
svn path=/main/branches/prefix/; revision=15319
pym/portage/versions.py
patch
|
blob
|
history
diff --git
a/pym/portage/versions.py
b/pym/portage/versions.py
index 95f6fe899685f922d21c282992a873bc32a7d2b8..99ec90069259443e4215636a684db6e2193b7392 100644
(file)
--- a/
pym/portage/versions.py
+++ b/
pym/portage/versions.py
@@
-212,6
+212,7
@@
def vercmp(ver1, ver2, silent=1):
r3 = 0
else:
r1 = 0
+ r3 = 0
if match2.group(10):
if match2.group(10)[0] == '0' and '.' in match2.group(10):
t = match2.group(10)[1:].split(".")
@@
-222,6
+223,7
@@
def vercmp(ver1, ver2, silent=1):
r4 = 0
else:
r2 = 0
+ r4 = 0
if r1 == r2 and (r3 != 0 or r4 != 0):
r1 = r3
r2 = r4