diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-12 17:53:44 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:24 +0100 |
commit | 785e35555993fd1c7251b6d50e1fb4b27cbeb7f1 (patch) | |
tree | 9bf31ced127fc7389d9ba6f9d55279fd21debcfb /archaeological_finds/lookups.py | |
parent | 3bbe9b6b0ed29709500d82c3b8122f8adb11d9ee (diff) | |
download | Ishtar-785e35555993fd1c7251b6d50e1fb4b27cbeb7f1.tar.bz2 Ishtar-785e35555993fd1c7251b6d50e1fb4b27cbeb7f1.zip |
Refactoring - typo
Diffstat (limited to 'archaeological_finds/lookups.py')
-rw-r--r-- | archaeological_finds/lookups.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/archaeological_finds/lookups.py b/archaeological_finds/lookups.py index 2c17d890a..b8ce8400d 100644 --- a/archaeological_finds/lookups.py +++ b/archaeological_finds/lookups.py @@ -25,7 +25,7 @@ class BaseFindLookup(LookupChannel): 'cache_complete_id')[:20] def format_item_display(self, item): - return u"<span class='ajax-label'>%s</span>" % item.cache_complete_id + return "<span class='ajax-label'>%s</span>" % item.cache_complete_id @register('find') @@ -44,7 +44,7 @@ class FindLookup(LookupChannel): 'cached_label')[:20] def format_item_display(self, item): - return u"<span class='ajax-label'>%s</span>" % item.full_label + return "<span class='ajax-label'>%s</span>" % item.full_label def format_match(self, obj): return escape(force_text(obj.full_label)) @@ -65,7 +65,7 @@ class TreatmentLookup(LookupChannel): 'cached_label')[:20] def format_item_display(self, item): - return u"<span class='ajax-label'>%s</span>" % item.cached_label + return "<span class='ajax-label'>%s</span>" % item.cached_label @register('treatment_file') @@ -83,7 +83,7 @@ class TreatmentFileLookup(LookupChannel): 'cached_label')[:20] def format_item_display(self, item): - return u"<span class='ajax-label'>%s</span>" % item.cached_label + return "<span class='ajax-label'>%s</span>" % item.cached_label @register('material_type') |