summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-02 17:32:34 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-02 17:32:34 -0700
commitc21b55d9f194b426dc549e133ae1a96dc7b016c8 (patch)
treea9ad5d9e81c8c86855df612d89ed0717cbf15d19
parent255b4048ccae4a73e69edf5329ce61f526079a6e (diff)
downloadportage-c21b55d9f194b426dc549e133ae1a96dc7b016c8.tar.gz
portage-c21b55d9f194b426dc549e133ae1a96dc7b016c8.tar.bz2
portage-c21b55d9f194b426dc549e133ae1a96dc7b016c8.zip
Make Atom.with_repo() allow wildcard.
-rw-r--r--pym/portage/dep/__init__.py3
1 files changed, 2 insertions, 1 deletions
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",