projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
255b404
)
Make Atom.with_repo() allow wildcard.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 3 Oct 2010 00:32:34 +0000
(17:32 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 3 Oct 2010 00:32:34 +0000
(17:32 -0700)
pym/portage/dep/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/dep/__init__.py
b/pym/portage/dep/__init__.py
index db66f02a20fff600a7cd497b8dbcfbfbe1f1b9f8..3d7c554c4c4631f7f5f6af37d1079e9569a481c3 100644
(file)
--- 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",