summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/dbapi/dep_expand.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/dep_expand.py b/pym/portage/dbapi/dep_expand.py
index afd8b4f13..ac8ccf4b3 100644
--- a/pym/portage/dbapi/dep_expand.py
+++ b/pym/portage/dbapi/dep_expand.py
@@ -22,7 +22,7 @@ def dep_expand(mydep, mydb=None, use_cache=1, settings=None):
return mydep
if mydep[0] == "*":
mydep = mydep[1:]
- mydep = orig_dep
+ orig_dep = mydep
has_cat = '/' in orig_dep
if not has_cat:
alphanum = re.search(r'\w', orig_dep)