projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bafdfbd
)
Remove category validation cruft from catpkgsplit().
author
Zac Medico
<zmedico@gentoo.org>
Sun, 25 May 2008 03:05:30 +0000
(
03:05
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 25 May 2008 03:05:30 +0000
(
03:05
-0000)
svn path=/main/trunk/; revision=10400
pym/portage/versions.py
patch
|
blob
|
history
diff --git
a/pym/portage/versions.py
b/pym/portage/versions.py
index 4a12ef9d596d1e00b6f03c4cfb672f13c2b53223..261fa9deaf94c8560df5c2127fa9aed77be1d102 100644
(file)
--- a/
pym/portage/versions.py
+++ b/
pym/portage/versions.py
@@
-269,12
+269,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'
- 4. If cat is invalid (specified but has incorrect syntax)
- an InvalidData Exception will be thrown
"""
-
- # Categories may contain a-zA-z0-9+_- but cannot start with -
- import portage.dep
+
try:
if not catcache[mydata]:
return None