def quota_handler():
 logging.debug('Checking quota')
 BPSMeter.do.reset_quota()

def quota_handler ( ) : logging . debug ( 'Checking quota' ) BPSMeter . do . reset_quota ( )
to be called from scheduler .