Skip to content

Commit

Permalink
Drop compatibility wrapper for parse_qs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed Dec 3, 2013
1 parent 3c23765 commit 7c5b770
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
5 changes: 0 additions & 5 deletions dulwich/_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@
support for python <2.6.
"""

try:
from urlparse import parse_qs
except ImportError:
from cgi import parse_qs

try:
from os import SEEK_CUR, SEEK_END
except ImportError:
Expand Down
5 changes: 1 addition & 4 deletions dulwich/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,8 @@
import re
import sys
import time
from urlparse import parse_qs

try:
from urlparse import parse_qs
except ImportError:
from dulwich._compat import parse_qs
from dulwich import log_utils
from dulwich.protocol import (
ReceivableProtocol,
Expand Down

0 comments on commit 7c5b770

Please sign in to comment.