コード例 #1
0
 def _norm_path(self, filepath):
     home = conf.get_home_dir()
     # Expand HOME variable if present in path
     path = os.path.normpath(filepath.replace("$HOME", home))
     return path
コード例 #2
0
ファイル: default.py プロジェクト: vittyvk/WALinuxAgent
 def _norm_path(self, filepath):
     home = conf.get_home_dir()
     # Expand HOME variable if present in path
     path = os.path.normpath(filepath.replace("$HOME", home))
     return path