コード例 #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
ファイル: livecd_stage1.py プロジェクト: aliceinwire/catalyst
 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)