[FIX] flake8 and RST corrections according to code review

This commit is contained in:
Damien Crier
2015-06-29 10:01:06 +02:00
parent 44aae79bac
commit 368e214927
2 changed files with 16 additions and 11 deletions

View File

@@ -20,11 +20,9 @@
##############################################################################
import xmlrpclib
import openerp
class WarningOnSaveController(openerp.addons.web.http.Controller):
_cp_path = "/web_warning_on_save"
@@ -42,5 +40,4 @@ class WarningOnSaveController(openerp.addons.web.http.Controller):
if 'AttributeError' in e.faultString:
return False
else:
raise openerp.osv.osv.except_osv('Error', e.faultCode)
raise openerp.osv.osv.except_osv('Error', e.faultCode)