Skip to content

Commit

Permalink
Python 3 compatibility for 42280f6.
Browse files Browse the repository at this point in the history
  • Loading branch information
tkaemming committed Dec 17, 2015
1 parent 1bec285 commit 9eca7e8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion subdomains/tests/tests.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import functools
import mock
import urlparse
import warnings
try:
import urlparse
except ImportError: # Python 3
from urllib import urlparse

from django.core.urlresolvers import NoReverseMatch, set_urlconf
from django.template import Context, Template
Expand Down

0 comments on commit 9eca7e8

Please sign in to comment.