#NEWLINE# def extract_conf( self , * args ) : #NEWLINE# #INDENT# '\n        Receives one or more objects, iterates over their elements, extracts\n        all the uppercase properties and injects them into the Configurator\n        object.\n        ' #NEWLINE# for obj in args : #NEWLINE# #INDENT# for key in dir ( obj ) : #NEWLINE# #INDENT# if key . isupper ( ) : #NEWLINE# #INDENT# setattr ( self , key , getattr ( obj , key ) ) #NEWLINE# #UNINDENT# #UNINDENT# if ( hasattr ( obj , 'iterkeys' ) and callable ( getattr ( obj , 'iterkeys' ) ) ) : #NEWLINE# #INDENT# for key in obj . iterkeys ( ) : #NEWLINE# #INDENT# if key . isupper ( ) : #NEWLINE# #INDENT# setattr ( self , key , obj [ key ] )