diff options
Diffstat (limited to 'pym/portage/dbapi/dep_expand.py')
-rw-r--r-- | pym/portage/dbapi/dep_expand.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/portage/dbapi/dep_expand.py b/pym/portage/dbapi/dep_expand.py index 58ffae35b..60e30df87 100644 --- a/pym/portage/dbapi/dep_expand.py +++ b/pym/portage/dbapi/dep_expand.py @@ -30,12 +30,12 @@ def dep_expand(mydep, mydb=None, use_cache=1, settings=None): mydep = orig_dep[:alphanum.start()] + "null/" + \ orig_dep[alphanum.start():] try: - mydep = Atom(mydep) + mydep = Atom(mydep, allow_repo=True) except InvalidAtom: # Missing '=' prefix is allowed for backward compatibility. - if not isvalidatom("=" + mydep): + if not isvalidatom("=" + mydep, allow_repo=True): raise - mydep = Atom('=' + mydep) + mydep = Atom('=' + mydep, allow_repo=True) orig_dep = '=' + orig_dep if not has_cat: null_cat, pn = catsplit(mydep.cp) |