parameters: (self, filename)
docstring: Search file a file matching an module/import directive
  
  		:param filename: file to read
  		:type filename: string
docstring_summary: Search file a file matching an module/import directive
docstring_tokens: Search file a file matching an module / import directive
function: def tryfind(self, filename):
  		"""
  		Search file a file matching an module/import directive
  
  		:param filename: file to read
  		:type filename: string
  		"""
  		found = 0
  		for n in self.incpaths:
  			found = n.find_resource(filename.replace('.', '/') + '.d')
  			if found:
  				self.nodes.append(found)
  				self.waiting.append(found)
  				break
  		if not found:
  			if not filename in self.names:
  				self.names.append(filename)
function_tokens: def tryfind ( self , filename ) : found = 0 for n in self . incpaths : found = n . find_resource ( filename . replace ( '.' , '/' ) + '.d' ) if found : self . nodes . append ( found ) self . waiting . append ( found ) break if not found : if not filename in self . names : self . names . append ( filename )