Skip to content

Commit 228b70d

Browse files
committed
Remove old code
1 parent 4abea89 commit 228b70d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

tagging/tests/utils.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
"""
22
Tests utils for tagging.
33
"""
4+
from django.template import Origin
45
from django.template.loaders.base import Loader
5-
try:
6-
from django.template import Origin
7-
except ImportError:
8-
class Origin(object):
9-
def __init__(self, **kwargs):
10-
for k, v in kwargs.items():
11-
setattr(self, k, v)
126

137

148
class VoidLoader(Loader):

0 commit comments

Comments
 (0)