Changeset cfd7b415df472211b9cac6b322cb27a612816181


Ignore:
Timestamp:
31.07.2013 00:51:18 (8 years ago)
Author:
Stanislaw Klekot <dozzie@…>
Branches:
b66903eafbcb1d49112014abc82c8bf683413db0
Children:
686b97e8ebb23570adcd9f0ca67fd47ffaa4e3ec
Parents:
6b6f572e7a1fe8284d2e4dc0bae0659eef9b8249
git-author:
Stanislaw Klekot <dozzie@…> (31.07.2013 00:51:18)
git-committer:
Stanislaw Klekot <dozzie@…> (31.07.2013 00:51:18)
Message:

Saving macro calls skipped if no macro was called.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dashwiki/wiki/views.py

    rc1a31f rcfd7b4  
    118118    } 
    119119    result = resolve_macros(tree, load_macro, macro_calls, predefined_macros) 
    120     cache.store('macros.json', macro_calls) 
     120    if len(macro_calls) > 0: 
     121      cache.store('macros.json', macro_calls) 
    121122    return result 
    122123  except Exception, e: 
Note: See TracChangeset for help on using the changeset viewer.