| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
This is especially necessary when running in prefix mode, since
sys.path may contain the path for a different version of portage.
|
|
|
|
|
|
|
|
|
|
| |
It makes more sense to use EROOT instead of ROOT for keys in mappings
like portage.db, since it allows for multiple prefixes to exist
simultaneously within the same map without having a key collision.
This affects all portageq commands which take a <root> parameter, since
that parameter now corresponds to EROOT instead of ROOT. None of this
makes any difference for non-prefix users, since EROOT and ROOT are
identical when EPREFIX is empty.
|
| |
|
| |
|
| |
|
|
|
|
| |
svn path=/main/trunk/; revision=15329
|
|
|
|
|
|
| |
both python 2.x and 3.x.
svn path=/main/trunk/; revision=14379
|
|
|
|
|
|
|
|
| |
dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3.
(2to3-3.1 -f dict -nw ${FILES})
svn path=/main/trunk/; revision=14327
|
|
|
|
| |
svn path=/main/trunk/; revision=14294
|
|
|
|
| |
svn path=/main/trunk/; revision=14291
|
|
|
|
|
|
| |
(2to3-3.1 -f except -nw ${FILES})
svn path=/main/trunk/; revision=14289
|
|
|
|
|
|
| |
_unicode_encode() and _unicode_decode() where appropriate.
svn path=/main/trunk/; revision=13993
|
|
|
|
| |
svn path=/main/trunk/; revision=12748
|
|
|
|
| |
svn path=/main/trunk/; revision=12701
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unicode objects, which trigger and exception like this:
File "//usr/lib64/portage/pym/portage/dep.py", line 535, in __init__
obj_setattr(self, x, getattr(s, x))
AttributeError: 'unicode' object has no attribute '__eq__'
To solve this problem, convert unicode objects to plain str before passing
them to the portage api.
svn path=/main/trunk/; revision=12667
|
|
|
|
|
|
|
| |
This replaces some code which triggers a traceback from 2to3. Thanks to
Ali Polatel <hawking@g.o> for this patch.
svn path=/main/trunk/; revision=12634
|
|
|
|
|
|
| |
Robert Buchholz <rbu@gentoo.org>)
svn path=/main/trunk/; revision=11592
|
|
|
|
| |
svn path=/main/trunk/; revision=11591
|
|
|
|
|
|
| |
Replace dict.has_key() calls with "in" and "not in" operators.
svn path=/main/trunk/; revision=10874
|
|
|
|
| |
svn path=/main/trunk/; revision=8479
|
|
be removed after 2.2 is released
svn path=/main/trunk/; revision=8478
|