コード例 #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))
コード例 #2
0
ファイル: biostar.py プロジェクト: Shuyib/galaxy
 def biostar_logout(self, trans):
     """
     Log out of biostar
     """
     try:
         url = biostar.biostar_log_out(trans)
     except Exception, e:
         return error(str(e))
コード例 #3
0
ファイル: biostar.py プロジェクト: ImmPortDB/immport-galaxy
 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.")
コード例 #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.")