Re: [PATCH v5 1/7] models: Convert functions to properties

2016-10-09 Thread Andrew Donnellan
On 10/10/16 09:25, Stephen Finucane wrote: A number of models contain functions that are, semantically speaking, actually properties. Mark them as such. Signed-off-by: Stephen Finucane Reviewed-by: Andy Doan Reviewed-by: Andrew Donnellan -- Andrew Donnellan OzLabs, ADL Canberr

[PATCH v5 1/7] models: Convert functions to properties

2016-10-09 Thread Stephen Finucane
A number of models contain functions that are, semantically speaking, actually properties. Mark them as such. Signed-off-by: Stephen Finucane Reviewed-by: Andy Doan --- patchwork/models.py | 15 ++- patchwork/views/__init__.py | 4 ++-- patchwork/views/patch.py| 4 ++--