Esempio n. 1
0
 def list_actions(action, page):
     if action.startswith('cert_'):
         return Extracts.extract_certificates(page, action[5:])
     if action == 'card':
         return Extracts.extract_cards(page)
     if action == 'other':
         return Extracts.extract_other_actions(page)
     if action == 'renewal':
         return Extracts.extract_pending_renewals(page)
     if action == 'query':
         return Query.show_found()
Esempio n. 2
0
def extracts_show():
    return Query.show_found()