#NEWLINE# def _get_platform_target( self ) : #NEWLINE# #INDENT# current_distro = platform . linux_distribution ( ) [ 0 ] #NEWLINE# for ( pkgtype , distros ) in SUPPORTED_DISTROS . iteritems ( ) : #NEWLINE# #INDENT# for distro in distros : #NEWLINE# #INDENT# if re . match ( distro , current_distro ) : #NEWLINE# #INDENT# return pkgtype #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# raise Exception ( ( "Sorry, '%s' is an unsupported distribution" % distros ) )