diff options
Diffstat (limited to 'ishtar_common/utils.py')
| -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: | 
