#NEWLINE# def get_library_paths( self , from_global = False , include_missing = False ) : #NEWLINE# #INDENT# '\n        Returns library path list\n\n        @param from_global: a boolean specified whether returns a library path\n            list from global settings or local settings\n        @param include_missing: a boolean specified whether returns a list\n            with missing library paths or not\n        ' #NEWLINE# out_library_paths = [ ] #NEWLINE# library_paths = Settings ( ) . get ( 'library_paths' , from_global = from_global ) #NEWLINE# if ( library_paths is not None ) : #NEWLINE# #INDENT# out_library_paths . extend ( ( [ library_path , from_global ] for library_path in library_paths if ( os . path . exists ( self ) or include_missing ) ) ) #NEWLINE# #UNINDENT# if ( not from_global ) : #NEWLINE# #INDENT# out_library_paths . extend ( ( [ library_path , True ] for library_path in Settings ( ) . get ( 'library_paths' , default = [ ] , from_global = True ) if ( os . path . exists ( library_path ) or include_missing ) ) ) #NEWLINE# #UNINDENT# return out_library_paths