• Aaron Gable's avatar
    Workaround Python Issue 26083 in upload.py · edfd7cd8
    Aaron Gable authored
    This issue is fixed in Python 2.7.12, but we don't guarantee
    that we use that version everywhere. The root issue is that,
    on certain platforms (e.g. Mac), the exception indicating that
    the underlying command (e.g. 'hg') was not found is too large,
    and loading the pickle representing the exception fails.
    
    This CL catches this specific exception and treats it identically
    to the OS properly raising a 'command not found' code.
    
    BUG=699173
    
    Change-Id: I0483ab0d1d0b6a3dfcfd26f2d9644817b5b5284f
    Reviewed-on: https://chromium-review.googlesource.com/455537Reviewed-by: 's avatarAndrii Shyshkalov <tandrii@chromium.org>
    Commit-Queue: Aaron Gable <agable@chromium.org>
    edfd7cd8
Name
Last commit
Last update
..
boto Loading commit data...
colorama Loading commit data...
coverage Loading commit data...
cq_client Loading commit data...
fancy_urllib Loading commit data...
httplib2 Loading commit data...
logilab Loading commit data...
oauth2client Loading commit data...
protobuf26 Loading commit data...
pylint Loading commit data...
pymox Loading commit data...
repo Loading commit data...
retry_decorator Loading commit data...
simplejson Loading commit data...
six Loading commit data...
__init__.py Loading commit data...
pylint.py Loading commit data...
upload.py Loading commit data...