]> git.ipfire.org Git - thirdparty/patchwork.git/commit
models: Convert functions to properties
authorStephen Finucane <stephen@that.guru>
Sat, 29 Oct 2016 13:13:33 +0000 (14:13 +0100)
committerStephen Finucane <stephen@that.guru>
Mon, 31 Oct 2016 16:06:10 +0000 (16:06 +0000)
commit08407e9c2058120e5db068b801c758b5434e00a0
treeac04a2f6e73e6dd23225a5df40fb050e1976a56a
parenta139fd6a8579115774dc9d8c3276cc3d7a0c2e1d
models: Convert functions to properties

A number of models contain functions that are, semantically speaking,
actually properties. Mark them as such.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Reviewed-by: Andy Doan <andy.doan@linaro.org>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
patchwork/models.py
patchwork/views/__init__.py
patchwork/views/patch.py
patchwork/views/user.py
patchwork/views/xmlrpc.py