myint / yolk

Command-line tool for querying PyPI and Python packages installed on your system (with Python 3 support)
https://pypi.python.org/pypi/yolk3k
BSD 3-Clause "New" or "Revised" License
66 stars 12 forks source link

Bugfix fork addressing urllib exceptions #13

Open fish2000 opened 7 years ago

fish2000 commented 7 years ago

I was having trouble running yolk -U, as the entire process would halt whenever the occasion of a transient urllib2.URLError would bubble up to the CLI:

screen shot 2017-09-19 at 11 02 14 pm

… so I forked yolk3k and vendored in retrying – which I used here and here, rather coarsely, to elide halting the program on these exceptions.

The fork works as it should, but it seemed like a biggish change for an unsolicited PR; if you are interested in integrating this stuff upstream, I’d be happy to clean it up and squash it down. Indeed. Thanks in any case, yes!