Exemple #1
0
def committees(sess=None):
    if sess is None:
        sess = Session.objects.current()
        if sess.start >= datetime.date.today():
            return
    parl_cmte.import_committee_list(session=sess)
    parl_cmte.import_committee_documents(sess)
Exemple #2
0
def committees(sess=None):
    if sess is None:
        sess = Session.objects.current()
        if sess.start >= datetime.date.today():
            return
    try:
        parl_cmte.import_committee_list(session=sess)
    except Exception as e:
        logger.exception("Committee list import failure")
    parl_cmte.import_committee_documents(sess)
Exemple #3
0
def committees(sess=None):
    if sess is None:
        sess = Session.objects.current()
    parl_cmte.import_committee_list(session=sess)
    parl_cmte.import_committee_documents(sess)