def _generate_graph(self, item, output):
        s = models[item[0]](self.data, list(item[1]))
        gnuplot_script = s()
        output_line = "set output '%s'\n" % output
        gnuplot_script = output_line + gnuplot_script
        fd, filename = mkstemp(text = True)
        f = open(filename, 'w')
        f.write(gnuplot_script)
        f.close()
        os.close(fd)
        cmd = subprocess.Popen('gnuplot %s' % filename,
                               shell=True,
                               stdout=subprocess.PIPE)
#        while True:
#            cmd.poll()
#            if cmd.returncode is not None:
#                os.unlink(filename)
#                break
Return an object with an attribute for each conf parameter.
dataset/ETHPy150Open redhat-cip/edeploy/tools/grapher/reports/basereport.py/BaseReport._generate_graph--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/conf.py/get_all