Esempio n. 1
0
 def biostar_logout(self, trans):
     """
     Log out of biostar
     """
     try:
         url = biostar.biostar_log_out(trans)
     except Exception, e:
         return error(str(e))
Esempio n. 2
0
 def biostar_logout(self, trans):
     """
     Log out of biostar
     """
     try:
         url = biostar.biostar_log_out(trans)
     except Exception, e:
         return error(str(e))
Esempio n. 3
0
 def biostar_logout(self, trans):
     """
     Log out of biostar
     """
     try:
         url = biostar.biostar_log_out(trans)
     except Exception as e:
         return error(str(e))
     if url:
         return trans.response.send_redirect(url)
     return error("Could not determine Biostar logout URL.")
Esempio n. 4
0
 def biostar_logout(self, trans):
     """
     Log out of biostar
     """
     try:
         url = biostar.biostar_log_out(trans)
     except Exception as e:
         return error(str(e))
     if url:
         return trans.response.send_redirect(url)
     return error("Could not determine Biostar logout URL.")