def _get_missing_results(results, dest_dir):
 try:
  present = set(os.listdir(dest_dir))
 except OSError as exc:
  if (exc.errno == errno.ENOENT):
   log.debug("pkgbuild.built: dest_dir '{0}' does not exist".format(dest_dir))
  elif (exc.errno == errno.EACCES):
   log.error("pkgbuilt.built: cannot access dest_dir '{0}'".format(dest_dir))
  present = set()
 return sorted(set(results).difference(present))

def _get_missing_results ( results , dest_dir ) : try : present = set ( os . listdir ( dest_dir ) ) except OSError as exc : if ( exc . errno == errno . ENOENT ) : log . debug ( "pkgbuild.built: dest_dir '{0}' does not exist" . format ( dest_dir ) ) elif ( exc . errno == errno . EACCES ) : log . error ( "pkgbuilt.built: cannot access dest_dir '{0}'" . format ( dest_dir ) ) present = set ( ) return sorted ( set ( results ) . difference ( present ) )
return a list of the filenames specified in the results argument .