[125609] users/g5pw/pypi2port/pypi2port.py

Aljaž Srebrnič g5pw at macports.org
Tue Sep 23 00:54:58 PDT 2014


On 22/set/2014, at 22:11, Lawrence Velázquez <larryv at macports.org> wrote:

> With this change, an failure importing either xmlrpclib or urllib2.urlopen will result in the fallback behavior for both. You should use two separate try blocks.


Well, yes, but I’m assuming that if either one of xmlrpclib or urllib2.urlopen fails importing, the script is run under python3 since both modules are in core python.

--
Aljaž Srebrnič a.k.a g5pw
My public key:  http://bit.ly/g5pw_pubkey

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20140923/ed2e40c8/attachment.html>


More information about the macports-dev mailing list