#NEWLINE# def expire_old( config , cmd ) : #NEWLINE# #INDENT# expire_age = int ( CONF . command . expire_age ) #NEWLINE# if ( not CONF . command . no_runs ) : #NEWLINE# #INDENT# print ( 'Expiring old runs.' ) #NEWLINE# db_api . delete_old_runs ( expire_age ) #NEWLINE# #UNINDENT# if ( not CONF . command . no_test_runs ) : #NEWLINE# #INDENT# print ( 'Expiring old test_runs' ) #NEWLINE# db_api . delete_old_test_runs ( expire_age )