(self, paths)
return list([p if (os.path.isabs(p) or '/' not in p) else os.path.join(self.engineRoot, self.engineSourceDir, p) for p in stripped])
Converts the supplied list of paths to absolute pathnames (except for pure filenames without leading relative directories)
Converts the supplied list of paths to absolute pathnames (except for pure filenames without leading relative directories)
Converts the supplied list of paths to absolute pathnames ( except for pure filenames without leading relative directories )
def _absolutePaths(self, paths):
		"""
		Converts the supplied list of paths to absolute pathnames (except for pure filenames without leading relative directories)
		"""
		slashes = [p.replace('\\', '/') for p in paths]
		stripped = [p.replace('../', '') if p.startswith('../') else p for p in slashes]
		return list([p if (os.path.isabs(p) or '/' not in p) else os.path.join(self.engineRoot, self.engineSourceDir, p) for p in stripped])
def _absolutePaths ( self , paths ) : slashes = [ p . replace ( '\\' , '/' ) for p in paths ] stripped = [ p . replace ( '../' , '' ) if p . startswith ( '../' ) else p for p in slashes ] return list ( [ p if ( os . path . isabs ( p ) or '/' not in p ) else os . path . join ( self . engineRoot , self . engineSourceDir , p ) for p in stripped ] )