try: import httplib except ImportError: import http.client as httplib try: from urlparse import urlparse except ImportError: from urllib.parse import urlparse try: from urllib import urlencode except ImportError: from urllib.parse import urlencode
- Group Reviewers
- rP1a918b116743: [Python 3] urllib.urlencode / httplib module change
- rP pykolab
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
The patch doesn't apply cleanly because the following hunk is already present on master:
try: import httplib except ImportError: import http.client as httplib
Could you rebase the commit onto master?