def checksum(*paths):
 ret = dict()
 if (not paths):
  raise CommandExecutionError('No package files has been specified.')
 for package_file in paths:
  ret[package_file] = (bool(__salt__['file.file_exists'](package_file)) and (not __salt__['cmd.retcode'](['rpm', '-K', '--quiet', package_file], ignore_retcode=True, output_loglevel='trace', python_shell=False)))
 return ret

def checksum ( * paths ) : ret = dict ( ) if ( not paths ) : raise CommandExecutionError ( 'No package files has been specified.' ) for package_file in paths : ret [ package_file ] = ( bool ( __salt__ [ 'file.file_exists' ] ( package_file ) ) and ( not __salt__ [ 'cmd.retcode' ] ( [ 'rpm' , '-K' , '--quiet' , package_file ] , ignore_retcode = True , output_loglevel = 'trace' , python_shell = False ) ) ) return ret
calculate standard internet checksum over data starting at startth byte skip_word: if specified .