Flake8 issues

This commit is contained in:
Adil Houmadi
2014-07-17 22:57:41 +02:00
parent 8cce6a5a2a
commit 81f5e939d5

View File

@@ -1,5 +1,5 @@
#-*- encoding: utf-8 -*-
##############################################################################
# -*- encoding: utf-8 -*-
# #############################################################################
#
# Web Easy Switch Company module for OpenERP
# Copyright (C) 2014 GRAP (http://www.grap.coop)
@@ -18,7 +18,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
#############################################################################
import openerp
import openerp.http as http
from openerp.http import request
@@ -31,4 +31,4 @@ class WebEasySwitchCompanyController(http.Controller):
uid = request.session.uid
with registry.cursor() as cr:
res = registry.get("res.users").change_current_company(cr, uid, company_id)
return res
return res