From 30449b96a7b4e7a709858923c479b9aff6968fa7 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 2 Oct 2010 17:32:34 -0700 Subject: [PATCH] Make Atom.with_repo() allow wildcard. --- pym/portage/dep/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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", -- 2.26.2