diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-11-15 21:03:41 +0100 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-11-15 21:03:41 +0100 | 
| commit | 0a5159480978acc1c8e0d5d1d2bc68ee153bee4f (patch) | |
| tree | becd7b57f91a2a97c34dc709d5851658aabd5466 | |
| parent | da44f143199b3adeb61c1ecd0c9f1e60a5604b23 (diff) | |
| download | Ishtar-0a5159480978acc1c8e0d5d1d2bc68ee153bee4f.tar.bz2 Ishtar-0a5159480978acc1c8e0d5d1d2bc68ee153bee4f.zip | |
Fix build
| -rw-r--r-- | ishtar_common/utils.py | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/ishtar_common/utils.py b/ishtar_common/utils.py index d828e79cd..641fbd156 100644 --- a/ishtar_common/utils.py +++ b/ishtar_common/utils.py @@ -542,10 +542,8 @@ def regenerate_all_cached_labels(model):          cached_label_changed(model, instance=item) -SHORTIFY_STR = ugettext(" (...)") - -  def shortify(lbl, number=20): +    SHORTIFY_STR = ugettext(" (...)")      if not lbl:          lbl = ''      if len(lbl) <= number: | 
