Parsing of PYTHONPATH does not account for a standard installation of
POX. Catching an ImportError accounts for any valid method of installing
POX.
Also, instead of searching through all paths and looking for a match on
pox, then appending pox.py to that path this patch uses the file
attribute of the module itself (after successful import).
Parsing of PYTHONPATH does not account for a standard installation of POX. Catching an ImportError accounts for any valid method of installing POX.
Also, instead of searching through all paths and looking for a match on pox, then appending pox.py to that path this patch uses the file attribute of the module itself (after successful import).