From: Zac Medico Date: Sun, 3 Oct 2010 00:32:34 +0000 (-0700) Subject: Make Atom.with_repo() allow wildcard. X-Git-Tag: v2.1.9.14~34 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=30449b96a7b4e7a709858923c479b9aff6968fa7;p=portage.git Make Atom.with_repo() allow wildcard. --- diff --git a/pym/portage/dep/__init__.py b/pym/portage/dep/__init__.py index db66f02a2..3d7c554c4 100644 --- a/pym/portage/dep/__init__.py +++ b/pym/portage/dep/__init__.py @@ -1116,7 +1116,8 @@ class Atom(_atom_base): def without_repo(self): if self.repo is None: return self - return Atom(self.replace(_repo_separator + self.repo, '', 1)) + return Atom(self.replace(_repo_separator + self.repo, '', 1), + allow_wildcard=True) def __setattr__(self, name, value): raise AttributeError("Atom instances are immutable",