#NEWLINE# def list_personas( ) : #NEWLINE# #INDENT# result = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# config = cmd ( 'git config --global --get-regex ^persona\\.' ) #NEWLINE# for line in config . splitlines ( ) : #NEWLINE# #INDENT# match = CONFIG_PERSONA . search ( config ) #NEWLINE# if ( not match ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# result [ match . group ( 1 ) ] = { #NEWLINE# #INDENT# 'name' : match . group ( 2 ) , #NEWLINE# 'email' : match . group ( 3 ) , #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# return result