#NEWLINE# def load_scmclients( config , options ) : #NEWLINE# #INDENT# global SCMCLIENTS #NEWLINE# SCMCLIENTS = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for ep in pkg_resources . iter_entry_points ( group = 'rbtools_scm_clients' ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# SCMCLIENTS [ ep . name ] = ep . load ( ) ( config = SCMCLIENTS , options = options ) #NEWLINE# #UNINDENT# except Exception : #NEWLINE# #INDENT# logging . exception ( 'Could not load SCM Client "%s"' , ep . name )