Changeset 262


Ignore:
Timestamp:
Jan 29, 2008, 11:33:16 PM (17 years ago)
Author:
ecprice
Message:

Modularize cache_acls.py more

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/cache_acls.py

    r260 r262  
    3131    return getafsgroups.getAfsGroupMembers(name, 'athena.mit.edu')
    3232
    33 if __name__ == '__main__':
    34     connect('postgres://sipb-xen@sipb-xen-dev/sipb_xen')
    35    
     33def refreshCache():
    3634    transaction = ctx.current.create_transaction()
    3735
     
    5856        transaction.rollback()
    5957        raise
     58
     59if __name__ == '__main__':
     60    connect('postgres://sipb-xen@sipb-xen-dev/sipb_xen')
     61    refreshCache()
Note: See TracChangeset for help on using the changeset viewer.