#NEWLINE# def is_enabled( self , type , paths = [ ] ) : #NEWLINE# #INDENT# for path in paths : #NEWLINE# #INDENT# if ( path == None ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# ( fileName , fileExtension ) = os . path . splitext ( path ) #NEWLINE# fileExtensionUpper = fileExtension . upper ( ) #NEWLINE# if ( ( fileExtensionUpper != '.UX' ) and ( fileExtensionUpper != '.UNOSLN' ) and ( fileExtensionUpper != '.UNOPROJ' ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# #UNINDENT# return True