#NEWLINE# def fetchAllSources( self , refreshFilter = None , skipFilter = None , withEphemeral = True ) : #NEWLINE# #INDENT# '\n        returns a list of file locations for all the sources in\n        the package recipe\n        ' #NEWLINE# if self . pathConflicts : #NEWLINE# #INDENT# errlist = [ ] #NEWLINE# for basepath in self . pathConflicts . keys ( ) : #NEWLINE# #INDENT# errlist . extend ( [ x for x in self . pathConflicts [ basepath ] ] ) #NEWLINE# #UNINDENT# raise RecipeFileError ( ( 'The following file names conflict (cvc does not currently support multiple files with the same name from different locations):\n   ' + '\n   ' . join ( src ) ) ) #NEWLINE# #UNINDENT# self . prepSources ( ) #NEWLINE# files = [ ] #NEWLINE# for src in self . getSourcePathList ( ) : #NEWLINE# #INDENT# if ( skipFilter and skipFilter ( os . path . basename ( src . getPath ( ) ) ) ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# f = src . fetch ( refreshFilter ) #NEWLINE# if ( not f ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# if ( src . ephemeral and ( not withEphemeral ) ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# if ( type ( f ) in ( tuple , list ) ) : #NEWLINE# #INDENT# files . extend ( f ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# files . append ( f ) #NEWLINE# #UNINDENT# #UNINDENT# return files