fixing a couple of pylint reported issues in views.py
fixing a couple of pylint reported issues in views.py

stfp/memopol2,stfp/memopol2,yohanboniface/memopol-core,stfp/memopol2,yohanboniface/memopol-core,yohanboniface/memopol-core