diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-05-22 16:20:46 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-05-22 16:20:46 +0200 |
| commit | d7f357e956e9e3695832bb470b952b3c5e78b6cb (patch) | |
| tree | 08d386d02726ee2b7a2bd46fd8b37e35d89a8142 /ishtar_common/models.py | |
| parent | 90d72e530d9f5c1089ff8d21d276b1542a9bcb1c (diff) | |
| download | Ishtar-d7f357e956e9e3695832bb470b952b3c5e78b6cb.tar.bz2 Ishtar-d7f357e956e9e3695832bb470b952b3c5e78b6cb.zip | |
Document template: fix value listing
Diffstat (limited to 'ishtar_common/models.py')
| -rw-r--r-- | ishtar_common/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index d8c9be40c..205935f7b 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -141,7 +141,7 @@ class ValueGetter(object): if val.endswith('.None'): val = '' values[key] = val - if not prefix or prefix == self._prefix: + if prefix and prefix != self._prefix: # do not provide KEYS and VALUES for sub-items return values values['KEYS'] = u'\n'.join(values.keys()) |
