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
Details
Details
- Reviewers
sicherha - Group Reviewers
PyKolab Developers - Commits
- rP1a918b116743: [Python 3] urllib.urlencode / httplib module change
Diff Detail
Diff Detail
- Repository
- rP pykolab
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
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?