dec89a73dbf20c7dc2a8358864981de3080c84ed,bokeh/command/subcommands/svg.py,SVG,invoke,#SVG#Any#,87

Before Change


        """
        import selenium.webdriver as webdriver
        self.driver = webdriver.PhantomJS(service_log_path=os.path.devnull)
        super(SVG, self).invoke(args)
        terminate_web_driver(self.driver)

    def write_file(self, args, filename, doc):
        """

After Change



        """
        self.driver = create_webdriver()
        try:
            super(SVG, self).invoke(args)
        finally:
            terminate_webdriver(self.driver)

    def write_file(self, args, filename, doc):
        """

        """
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: bokeh/bokeh
Commit Name: dec89a73dbf20c7dc2a8358864981de3080c84ed
Time: 2018-04-11
Author: mattpap@gmail.com
File Name: bokeh/command/subcommands/svg.py
Class Name: SVG
Method Name: invoke


Project Name: bokeh/bokeh
Commit Name: dec89a73dbf20c7dc2a8358864981de3080c84ed
Time: 2018-04-11
Author: mattpap@gmail.com
File Name: bokeh/command/subcommands/png.py
Class Name: PNG
Method Name: invoke


Project Name: bokeh/bokeh
Commit Name: c5d9ef1be8a32258791fd2423c45a64e45b5dcc3
Time: 2015-11-27
Author: bryanv@continuum.io
File Name: bokeh/command/bootstrap.py
Class Name:
Method Name: main