Mercurial > kallithea
diff kallithea/controllers/home.py @ 6557:2f9313074853
controllers: remove empty __before__ methods
__before__ methods that only call the super __before__ method are redundant
and can be removed. The super's method will be called directly.
author | Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> |
---|---|
date | Wed, 15 Mar 2017 21:00:40 +0100 |
parents | e9ac5698281d |
children | 7691290837d2 |
line wrap: on
line diff
--- a/kallithea/controllers/home.py Sun Jan 15 20:49:23 2017 +0100 +++ b/kallithea/controllers/home.py Wed Mar 15 21:00:40 2017 +0100 @@ -45,9 +45,6 @@ class HomeController(BaseController): - def __before__(self): - super(HomeController, self).__before__() - def about(self): return render('/about.html')