Skip to content
Snippets Groups Projects
Commit 697ce62c80df authored by Houzefa Abbasbhay's avatar Houzefa Abbasbhay :slight_smile:
Browse files

Code formatting (flake8 valid)

parent e7e8f4dedf92
No related branches found
No related tags found
No related merge requests found
# flake8: noqa
import controllers
import model
# flake8: noqa
import main
# vim:expandtab:tabstop=4:softtabstop=4:shiftwidth=4:
......@@ -13,5 +13,6 @@
_logger = logging.getLogger(__name__)
#----------------------------------------------------------
# ----------------------------------------------------------
# helpers
......@@ -17,5 +18,5 @@
# helpers
#----------------------------------------------------------
# ----------------------------------------------------------
def fragment_to_query_string(func):
......@@ -36,5 +37,5 @@
return wrapper
#----------------------------------------------------------
# ----------------------------------------------------------
# Controller
......@@ -40,5 +41,5 @@
# Controller
#----------------------------------------------------------
# ----------------------------------------------------------
class SAMLController(oeweb.Controller):
_cp_path = '/auth_saml'
......
from openerp.osv import osv, fields
from openerp.osv import fields
from openerp.osv import osv
import lasso
import simplejson
......@@ -11,7 +12,6 @@
_order = 'name'
def _get_lasso_for_provider(self, cr, uid, provider_id, context=None):
#print cr, uid, provider_id, context
provider = self.browse(cr, uid, provider_id, context=context)
# TODO: we should cache those results somewhere because it is
......@@ -54,7 +54,8 @@
),
'enabled': fields.boolean('Allowed'),
'css_class': fields.char('CSS class'),
'body': fields.char('Body',
'body': fields.char(
'Body',
required=True,
),
'sequence': fields.integer(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment