Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(163)  |  Call(163)  |  Derive(0)  |  Import(0)

src/l/i/LinOTP-2.6.1.1/linotp/controllers/admin.py   LinOTP(Download)
            log.error("[__before__::%r] exception %r" % (action, exx))
            log.error("[__before__] %s" % traceback.format_exc())
            Session.rollback()
            Session.close()
            return sendError(response, exx, context='before')
            log.error("[__after__] unable to create a session cookie: %r" % e)
            log.error("[__after__] %s" % traceback.format_exc())
            Session.rollback()
            return sendError(response, e, context='after')
 
            log.error("[getsession] unable to create a session cookie: %r" % e)
            log.error("[getsession] %s" % traceback.format_exc())
            Session.rollback()
            return sendError(response, e)
 
            log.error('[show] policy failed: %r' % pe)
            log.error("[show] %s" % traceback.format_exc())
            Session.rollback()
            return sendError(response, unicode(pe), 1)
 
        except Exception as e:
            log.error('[show] failed: %r' % e)
            log.error("[show] %s" % traceback.format_exc())
            Session.rollback()

src/l/i/LinOTP-2.6.1.1/linotp/controllers/selfservice.py   LinOTP(Download)
            log.info("[__before__::%r] webob.exception %r" % (action, acc))
            log.info("[__before__] %s" % traceback.format_exc())
            Session.rollback()
            Session.close()
            raise acc
 
        except Exception as e:
            log.error("[__before__] failed with error: %r" % e)
            log.error("[__before__] %s" % traceback.format_exc())
            Session.rollback()
            log.error("[__after__::%r] webob.exception %r" % (action, acc))
            log.error("[__after__] %s" % traceback.format_exc())
            Session.rollback()
            Session.close()
            raise acc
 
        except Exception as e:
            log.error("[__after__] failed with error: %r" % e)
            log.error("[__after__] %s" % traceback.format_exc())
            Session.rollback()
            log.error("[load_form] %r" % exx)
            log.error("[load_form] %s" % traceback.format_exc())
            Session.rollback()
            raise Exception(exx)
 

src/l/i/LinOTP-2.6.1.1/linotp/controllers/system.py   LinOTP(Download)
            log.error("[__before__::%r] policy exception %r" % (action, pex))
            log.error("[__before__] %s" % traceback.format_exc())
            Session.rollback()
            Session.close()
            return sendError(response, pex, context='before')
            log.error("[__before__::%r] webob.exception %r" % (action, acc))
            log.error("[__before__] %s" % traceback.format_exc())
            Session.rollback()
            Session.close()
            raise acc
 
        except Exception as exx:
            log.error("[__before__::%r] exception %r" % (action, exx))
            log.error("[__before__] %s" % traceback.format_exc())
            Session.rollback()
            log.error("[__after__] exception %r" % (exx))
            log.error("[__after__] %s" % traceback.format_exc())
            Session.rollback()
            Session.close()
            return sendError(response, exx, context='after')
            log.error('[setDefault] commit failed: %r' % exx)
            log.error("[setDefault] %s" % traceback.format_exc())
            Session.rollback()
            return sendError(response, exx)
 

src/l/i/LinOTP-2.6.1.1/linotp/controllers/ocra.py   LinOTP(Download)
            log.error("[__before__::%r] webob.exception %r" % (action, acc))
            log.error("[__before__] %s" % traceback.format_exc())
            Session.rollback()
            Session.close()
            raise acc
 
        except Exception as exx:
            log.error("[__before__::%r] exception %r" % (action, exx))
            log.error("[__before__] %s" % traceback.format_exc())
            Session.rollback()
            log.error("[request] policy failed: %r" % pe)
            log.error("[request] %s" % traceback.format_exc())
            Session.rollback()
            return sendError(response, unicode(pe))
 
        except Exception as exx:
            log.error("[request] failed: %r" % exx)
            log.error("[request] %s" % traceback.format_exc())
            Session.rollback()
            log.error("[check_t] failed: %r" % e)
            log.error("[check_t] %s" % traceback.format_exc())
            Session.rollback()
            return sendResult(response, unicode(e), 0)
 

src/l/i/LinOTP-2.6.1.1/linotp/controllers/validate.py   LinOTP(Download)
            log.error("[__before__::%r] exception %r" % (action, exx))
            log.error("[__before__] %s" % traceback.format_exc())
            Session.rollback()
            Session.close()
            return sendError(response, exx, context='before')
            c.audit['info'] = unicode(exx)
 
            Session.rollback()
            return sendError(response, u"validate/check failed: %s"
                             % unicode(exx), 0)
            log.error("[check_yubikey] %s" % traceback.format_exc())
            c.audit['info'] = unicode(exx)
            Session.rollback()
            return sendError(response, u"validate/check_yubikey failed: %s"
                             % unicode(exx), 0)
            log.error("[__before__::%r] webob.exception %r" % acc)
            log.error("[__before__] %s" % traceback.format_exc())
            Session.rollback()
            raise acc
 
        except Exception as exx:
            log.error("[check_url] validate/check_url failed: %r" % exx)
            log.error("[check_url] %s" % traceback.format_exc())
            Session.rollback()

src/l/i/LinOTP-2.6.1.1/linotp/controllers/manage.py   LinOTP(Download)
            log.error("[__before__::%r] exception %r" % (action, exx))
            log.error("[__before__] %s" % traceback.format_exc())
            Session.rollback()
            Session.close()
            return sendError(response, exx, context='before')
            log.error("[index] Error during checking policies: %r" % pe)
            log.error("[index] %s" % traceback.format_exc())
            Session.rollback()
            return sendError(response, unicode(pe), 1)
 
        except Exception as ex:
            log.error("[index] failed! %r" % ex)
            log.error("[index] %s" % traceback.format_exc())
            Session.rollback()
            log.error("[tokenview_flexi] Error during checking policies: %r" % pe)
            log.error("[tokenview_flexi] %s" % traceback.format_exc())
            Session.rollback()
            return sendError(response, unicode(pe), 1)
 
        except Exception as e:
            log.error("[tokenview_flexi] failed: %r" % e)
            log.error("[tokenview_flexi] %s" % traceback.format_exc())
            Session.rollback()

src/l/i/LinOTP-2.6.1.1/linotp/controllers/gettoken.py   LinOTP(Download)
            log.error("[__before__::%r] exception %r" % (action, exx))
            log.error("[__before__] %s" % traceback.format_exc())
            Session.rollback()
            Session.close()
            return sendError(response, exx, context='before')
            log.error("[getotp] gettoken/getotp policy failed: %r" % pe)
            log.error("[getotp] %s" % traceback.format_exc())
            Session.rollback()
            return sendError(response, unicode(pe), 1)
 
        except Exception as e:
            log.error("[getmultiotp] gettoken/getmultiotp failed: %r" % e)
            log.error("[getmultiotp] %s" % traceback.format_exc())
            Session.rollback()
            log.error("[getotp] gettoken/getotp policy failed: %r" % pe)
            log.error("[getotp] %s" % traceback.format_exc())
            Session.rollback()
            return sendError(response, unicode(pe), 1)
 
        except Exception as e:
            log.error("[getotp] gettoken/getotp failed: %r" % e)
            log.error("[getotp] %s" % traceback.format_exc())
            Session.rollback()

src/l/i/LinOTP-2.6.1.1/linotp/controllers/license.py   LinOTP(Download)
            log.error("[__before__::%r] exception %r" % (action, exx))
            log.error("[__before__] %s" % traceback.format_exc())
            Session.rollback()
            Session.close()
            return sendError(response, exx, context='before')
            log.error("[getLicense] failed! %r" % e)
            log.error("[getLicense] %s" % traceback.format_exc())
            Session.rollback()
            return sendError(response, e)
 
            log.error("[setLicense] failed with error %r" % pe)
            log.error("[setLicense] %s" % traceback.format_exc())
            Session.rollback()
            return sendError(response, unicode(pe), 1)
 
        except Exception as e:
            log.error("[setLicense] failed with error %r" % e)
            log.error("[setLicense] %s" % traceback.format_exc())
            Session.rollback()

src/l/i/LinOTP-2.6.1.1/linotp/controllers/audit.py   LinOTP(Download)
            log.error("[__before__::%r] exception %r" % (action, exx))
            log.error("[__before__] %s" % traceback.format_exc())
            Session.rollback()
            Session.close()
            return sendError(response, exx, context='before')
            log.error("[getotp] gettoken/getotp policy failed: %r" % pe)
            log.error("[getotp] %s" % traceback.format_exc())
            Session.rollback()
            return sendError(response, unicode(pe), 1)
 
        except Exception as e:
            log.error("[search] audit/search failed: %r" % e)
            log.error("[search] %s" % traceback.format_exc())
            Session.rollback()

src/l/i/LinOTP-2.6.1.1/linotp/controllers/account.py   LinOTP(Download)
            log.error("[__before__::%r] webob.exception %r" % (action, acc))
            log.error("[__before__] %s" % traceback.format_exc())
            Session.rollback()
            Session.close()
            raise acc
 
        except Exception as exx:
            log.error("[__before__::%r] exception %r" % (action, exx))
            log.error("[__before__] %s" % traceback.format_exc())
            Session.rollback()
            log.error('[login] failed %r' % e)
            log.error('[login] %s' % traceback.format_exc())
            Session.rollback()
            return sendError(response, e)
 

  1 | 2  Next