Mercurial > libervia-backend
diff src/memory/disco.py @ 1416:a419da93afef
core (disco): fixed bad indentation in _discoInfos (used by bridge)
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 18 Apr 2015 00:27:39 +0200 |
parents | 159d16336f87 |
children | c7fd121a6180 |
line wrap: on
line diff
--- a/src/memory/disco.py Fri Apr 17 23:10:06 2015 +0200 +++ b/src/memory/disco.py Sat Apr 18 00:27:39 2015 +0200 @@ -264,8 +264,8 @@ if value is not None: data[attr] = value - values = [field.value] if field.value is not None else field.values - fields.append((data, values)) + values = [field.value] if field.value is not None else field.values + fields.append((data, values)) extensions[form_type or ""] = fields