#NEWLINE# def __virtual__( ) : #NEWLINE# #INDENT# ext_pillar_sources = [ ext_pillar_sources for x in __opts__ . get ( 'ext_pillar' , [ ] ) ] #NEWLINE# if ( not any ( [ ( 'svn' in x ) for x in ext_pillar_sources ] ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# if ( not HAS_SVN ) : #NEWLINE# #INDENT# log . error ( 'SVN-based ext_pillar is enabled in configuration but could not be loaded, is pysvn installed?' ) #NEWLINE# return False #NEWLINE# #UNINDENT# return __virtualname__