projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
926bde8
)
Fix comments for catpkgsplit
author
Alec Warner
<antarus@gentoo.org>
Thu, 11 Jan 2007 21:32:33 +0000
(21:32 -0000)
committer
Alec Warner
<antarus@gentoo.org>
Thu, 11 Jan 2007 21:32:33 +0000
(21:32 -0000)
svn path=/main/trunk/; revision=5570
pym/portage_versions.py
patch
|
blob
|
history
diff --git
a/pym/portage_versions.py
b/pym/portage_versions.py
index 5cedd65049d3b92a4daa9973152ea86f5cfb0593..706c197fd9119d3e33ab43656431b408bc44f668 100644
(file)
--- a/
pym/portage_versions.py
+++ b/
pym/portage_versions.py
@@
-261,7
+261,8
@@
def catpkgsplit(mydata,silent=1):
1. If each exists, it returns [cat, pkgname, version, rev]
2. If cat is not specificed in mydata, cat will be "null"
3. if rev does not exist it will be '-r0'
- 1. If the cat, pkg, or version is invalid, return None
+ 4. If cat is invalid (specified but has incorrect syntax)
+ a ValueError will be thrown
"""
# Categories may contain a-zA-z0-9+_- but cannot start with -