projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28ae3c3
)
learn to spell
author
Alec Warner
<antarus@gentoo.org>
Thu, 11 Jan 2007 21:39:09 +0000
(21:39 -0000)
committer
Alec Warner
<antarus@gentoo.org>
Thu, 11 Jan 2007 21:39:09 +0000
(21:39 -0000)
svn path=/main/trunk/; revision=5572
pym/portage_versions.py
patch
|
blob
|
history
diff --git
a/pym/portage_versions.py
b/pym/portage_versions.py
index b4bbb57005847a091b457021e9696289a11ab1ef..929595c130f20be81f304ba5094b98bcb37384dd 100644
(file)
--- a/
pym/portage_versions.py
+++ b/
pym/portage_versions.py
@@
-10,7
+10,7
@@
suffix_regexp = re.compile("^(alpha|beta|rc|pre|p)(\\d*)$")
suffix_value = {"pre": -2, "p": 0, "alpha": -4, "beta": -3, "rc": -1}
endversion_keys = ["pre", "p", "alpha", "beta", "rc"]
-from portage_exception
s
import InvalidData
+from portage_exception import InvalidData
def ververify(myver, silent=1):
if ver_regexp.match(myver):