Lines Matching refs:file_result
33 file_result = utils.system_output('file ' + rpm_package)
71 if len(file_result.split(' ')) == 6:
73 if file_result.split(' ')[3] == 'src':
75 elif file_result.split(' ')[3] == 'bin':
80 package_info['arch'] = file_result.split(' ')[4]
82 package_info['version'] = file_result.split(' ')[5]
83 elif len(file_result.split(' ')) == 5:
85 if file_result.split(' ')[3] == 'src':
87 elif file_result.split(' ')[3] == 'bin':
94 package_info['version'] = file_result.split(' ')[4]
119 file_result = utils.system_output('file ' + dpkg_package)
198 file_result = utils.system_output('file ' + package)
205 result = re.search(package_pattern, file_result)
214 raise error.PackageError('Unknown package type %s' % file_result)