Skip to content
This repository was archived by the owner on Jun 27, 2018. It is now read-only.

Conversation

jameskyle
Copy link

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).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant