summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 4929288f3..6bafb5276 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -2749,6 +2749,13 @@ class depgraph(object):
if debug:
print "Candidates:", selected_atoms
for atom in selected_atoms:
+ if isinstance(atom, basestring) \
+ and not portage.isvalidatom(atom):
+ show_invalid_depstring_notice(
+ pkg, dep_string, str(atom))
+ if not pkg.installed:
+ return 0
+ continue
blocker = atom.startswith("!")
if blocker:
atom = atom[1:]