#NEWLINE# def print_global_config( global_config ) : #NEWLINE# #INDENT# ' print the global configuration ' #NEWLINE# if global_config . has_section ( 'shell' ) : #NEWLINE# #INDENT# print ( '\nShell configurations:' ) #NEWLINE# for ( shell_type , set_value ) in global_config . items ( 'shell' ) : #NEWLINE# #INDENT# print ( '{0}: {1}' . format ( global_config , set_value ) ) #NEWLINE# #UNINDENT# #UNINDENT# if global_config . has_option ( 'global' , 'env_source_rc' ) : #NEWLINE# #INDENT# print ( '\nHave sprinter env source rc: {0}' . format ( global_config . get ( 'global' , 'env_source_rc' ) ) )