def compute_arch_fs(self): path_info = get_resource_from_path(self._context['install_filename']) if path_info: return '/'.join(path_info[0:2])
def compute_arch_fs(self): if 'install_filename' not in self._context: return '' path_info = get_resource_from_path(self._context['install_filename']) if path_info: return '/'.join(path_info[0:2])