Пример #1
0
 def set_pkgcache_path(self):
     if "pkgcache_path" in self.settings:
         if not isinstance(self.settings['pkgcache_path'], str):
             self.settings["pkgcache_path"] = normpath(
                 ' '.join(self.settings["pkgcache_path"]))
     else:
         StageBase.set_pkgcache_path(self)
Пример #2
0
 def set_pkgcache_path(self):
     if "pkgcache_path" in self.settings:
         if type(self.settings["pkgcache_path"]) != types.StringType:
             self.settings["pkgcache_path"] = normpath(
                 string.join(self.settings["pkgcache_path"]))
     else:
         StageBase.set_pkgcache_path(self)
Пример #3
0
	def set_pkgcache_path(self):
		if "pkgcache_path" in self.settings:
			if not isinstance(self.settings['pkgcache_path'], str):
				self.settings["pkgcache_path"] = normpath(' '.join(self.settings["pkgcache_path"]))
		else:
			StageBase.set_pkgcache_path(self)