projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e1f35c
)
Fix an IndexError in get_operator() that occurs when isvalidatom() passes it an empty...
v2.1.2.9
author
Zac Medico
<zmedico@gentoo.org>
Wed, 30 May 2007 23:31:38 +0000
(23:31 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 30 May 2007 23:31:38 +0000
(23:31 -0000)
svn path=/main/branches/2.1.2/; revision=6681
pym/portage_dep.py
patch
|
blob
|
history
diff --git
a/pym/portage_dep.py
b/pym/portage_dep.py
index a992992bfab086cb3bd22439a68698884c974012..b87058f7f10c2e7c1114e0f096259578906b3e04 100644
(file)
--- a/
pym/portage_dep.py
+++ b/
pym/portage_dep.py
@@
-279,6
+279,8
@@
def get_operator(mydep):
"""
if mydep:
mydep = remove_slot(mydep)
+ if not mydep:
+ return None
if mydep[0] == "~":
operator = "~"
elif mydep[0] == "=":