| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Buggy code in python's multiprocessing/process.py closes sys.stdin and
reassigns it to open(os.devnull), but fails to update the corresponding
__stdin__ reference. So, detect that case and handle it appropriately.
The buggy code is visible in http://hg.python.org/lookup/r73708.
|
|
|
|
|
| |
The old protocol has been deprecated since portage-2.1.6 (2009), so it
should be completely irrelevant now.
|
|
|
|
| |
See http://forums.gentoo.org/viewtopic-t-938022.html for example.
|
|
|
|
|
| |
This fixes AttributeError exceptions for API consumers that override
sys.std* streams pseudo-file objects.
|
| |
|
| |
|
|
|
|
| |
This will fix bug #382233.
|
| |
|
| |
|
|
|
|
|
| |
This will fix "TypeError: must be string or buffer, not dict" with
python 2.7, as reported in bug #369913.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the user specifies FETCHCOMMAND_*, Portage should honor this when grabbing
Packages files. This allows users to setup support for grabbing Packages files
from other protocols.
BUG=chrome-os-partner:2026
TEST=Try downloading prebuilts from gs:// when FETCHCOMMAND_GS is setup in make.conf
Change-Id: I96b239819351633dd02d608954e81a1c363a4687
Review URL: http://codereview.chromium.org/6458015
|
|
|
|
| |
This should have been done as part of bug #338190.
|
|
|
|
|
|
|
| |
Use local import since https typically isn't needed, and this way we
can usually avoid triggering the global scope http.client ImportError
handler (like during stage1 -> stage2 builds where USE=ssl is disabled
for python).
|
|
|
|
|
|
| |
The ftplib.all_errors attribute is a useful collection of exceptions
to handle here. Thanks to Christian Kauhaus <kc@gocept.com> for the
suggestion.
|
| |
|
| |
|
|
|
|
|
|
| |
TERM=dumb.
svn path=/main/trunk/; revision=15191
|
|
|
|
|
|
| |
URL -> URI and FOO's -> FOOs.
svn path=/main/trunk/; revision=14531
|
|
|
|
|
|
| |
both python 2.x and 3.x.
svn path=/main/trunk/; revision=14385
|
|
|
|
| |
svn path=/main/trunk/; revision=14368
|
|
|
|
| |
svn path=/main/trunk/; revision=14343
|
|
|
|
|
|
|
|
| |
dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3.
(2to3-3.1 -f dict -nw ${FILES})
svn path=/main/trunk/; revision=14327
|
|
|
|
|
|
| |
(2to3-3.1 -f xrange -nw ${FILES})
svn path=/main/trunk/; revision=14317
|
|
|
|
| |
svn path=/main/trunk/; revision=14315
|
|
|
|
| |
svn path=/main/trunk/; revision=14307
|
|
|
|
| |
svn path=/main/trunk/; revision=14294
|
|
|
|
|
|
| |
(2to3-3.1 -f except -nw ${FILES})
svn path=/main/trunk/; revision=14289
|
|
|
|
| |
svn path=/main/trunk/; revision=14093
|
|
|
|
| |
svn path=/main/trunk/; revision=14067
|
|
|
|
|
|
| |
since shlex.split() doesn't behave well with unicode strings.
svn path=/main/trunk/; revision=13939
|
|
|
|
|
|
| |
be backward compatible.
svn path=/main/trunk/; revision=12821
|
|
|
|
|
|
| |
for py3k.
svn path=/main/trunk/; revision=12751
|
|
|
|
|
|
| |
StringIO usage with shlex.split() where appropriate.
svn path=/main/trunk/; revision=12662
|
|
|
|
|
|
| |
unsupported pickle protocol.
svn path=/main/trunk/; revision=12648
|
|
|
|
|
|
| |
mode.
svn path=/main/trunk/; revision=12641
|
|
|
|
|
|
| |
from ftplib connection attempt.
svn path=/main/trunk/; revision=12418
|
|
|
|
|
|
| |
to Vsevolod Kozlov <sevakda@gmail.com> for the initial patch.
svn path=/main/trunk/; revision=12401
|
|
|
|
|
|
|
| |
cPickle won't exist in py3k and 2to3 does s/cPickle/pickle. Thanks to
Ali Polatel <hawking@g.o> for this patch.
svn path=/main/trunk/; revision=11536
|
|
|
|
|
|
| |
Don't use the format raise Exception, "string"
svn path=/main/trunk/; revision=10890
|
|
|
|
|
|
| |
Replace dict.has_key() calls with "in" and "not in" operators..
svn path=/main/trunk/; revision=10870
|
|
|
|
|
|
|
|
|
| |
allowed keys is passed into the PackageIndex constructor (normal dict
instances will be used if the set of keys is not passed in for some
reason). A SlotDict.allowed_keys attribute now provides access to a
frozenset of allowed keys.
svn path=/main/trunk/; revision=10797
|
|
|
|
|
|
| |
occurs.
svn path=/main/trunk/; revision=9943
|
|
|
|
|
|
| |
portage.fetch() does. Thanks to Ramereth for reporting.
svn path=/main/trunk/; revision=9844
|
|
|
|
|
|
|
|
| |
on the fly. Current translations:
DESC <-> DESCRIPTION
REPO <-> repository
svn path=/main/trunk/; revision=9742
|
|
|
|
|
|
|
|
| |
never pulled for the same package twice.
* Cache a Package instances constructed during package selection
and reuse them during later package selections.
svn path=/main/trunk/; revision=9741
|
|
|
|
| |
svn path=/main/trunk/; revision=9453
|
|
|
|
|
|
| |
it will be possible to support multiple packages with the same cpv.
svn path=/main/trunk/; revision=9452
|
|
|
|
|
|
| |
from dir_get_list() when there's a problem connection problem.
svn path=/main/trunk/; revision=8702
|
|
|
|
|
|
|
| |
not have write access to /var/cache/edb. Thanks to Cardoe for
reporting.
svn path=/main/trunk/; revision=8502
|