correction to Python 3 urlparse import & usage
Merge pull request #4789 from hulu/compat-urlparse

correction to Python 3 urlparse import & usage