def set_attrib_file(path, attribs):
 path = os.path.join(path, ATTRIB_FILE)
 try:
  f = open(path, 'w')
 except:
  return
 for item in attribs:
  f.write(('%s\n' % item))
 f.close()

def set_attrib_file ( path , attribs ) : path = os . path . join ( path , ATTRIB_FILE ) try : f = open ( path , 'w' ) except : return for item in attribs : f . write ( ( '%s\n' % item ) ) f . close ( )
write jobs attributes to file .