py34 compat

(already present in prod)
This commit is contained in:
Aurélien Delobelle 2018-01-10 17:25:07 +01:00
parent 36ce038050
commit f58f120e7a

View file

@ -85,7 +85,7 @@ class OpenKfet(CachedMixin, object):
'admin_status': self.admin_status(status),
'force_close': self.force_close,
}
return base, {**base, **restrict}
return base, dict(base, **restrict)
def export(self, user):
"""Export internal state for a given user.