#NEWLINE# def _get_drivers( ) : #NEWLINE# #INDENT# 'Instantiates and returns drivers based on the flag values.' #NEWLINE# global drivers #NEWLINE# if ( not drivers ) : #NEWLINE# #INDENT# drivers = [ ] #NEWLINE# for notification_driver in FLAGS . list_notifier_drivers : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# drivers . append ( utils . import_object ( notification_driver ) ) #NEWLINE# #UNINDENT# except ClassNotFound as e : #NEWLINE# #INDENT# drivers . append ( ImportFailureNotifier ( e ) ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return drivers