Skip to content

Commit

Permalink
Tests: Remove dependency on unicode() or Py3 fails
Browse files Browse the repository at this point in the history
  • Loading branch information
darklow committed Mar 10, 2013
1 parent b4c0981 commit 95d8986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suit/templatetags/suit_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def field_contents_foreign_linked(admin_field):
except NoReverseMatch:
url = None
if url:
displayed = "<a href='%s'>%s</a>" % (url, unicode(displayed))
displayed = "<a href='%s'>%s</a>" % (url, displayed)
return mark_safe(displayed)


Expand Down

0 comments on commit 95d8986

Please sign in to comment.