#NEWLINE# def get_remotes( self ) : #NEWLINE# #INDENT# '\n        Get a list of remotes, provided as tuples of remote name and remote\n        url/resource.\n        ' #NEWLINE# entries = self . git ( 'remote' , '-v' ) . splitlines ( ) #NEWLINE# return OrderedDict ( ( re . match ( '([0-9a-zA-Z_-]+)\t([^ ]+)' , entry ) . groups ( ) for entry in entries ) )