#NEWLINE# def __repr__( self ) : #NEWLINE# #INDENT# s = '{ip}:{port:5}\n' . format ( ip = self . ip , port = self . port ) #NEWLINE# for loc in self . locations : #NEWLINE# #INDENT# s += '\t{loc}\n' . format ( loc = loc ) #NEWLINE# for repo in loc . repos : #NEWLINE# #INDENT# s += '\t\t{repo}\n' . format ( repo = repo ) #NEWLINE# #UNINDENT# #UNINDENT# return s