bb968245cfe832d17fd72371c3e5c2f62fefbb36,lib/streamlit/proxy/ClientWebSocket.py,ClientWebSocket,_handle_backend_msg,#ClientWebSocket#Any#Any#Any#,117

Before Change


                full_command = "cd "%s" ; %s" % \
                    (self._connection.cwd, backend_msg.rerun_script)
                LOGGER.info("Running command: %s" % full_command)
                os.system(full_command)
            else:
                LOGGER.warning("No handler for "%s"", msg_type)
        except Exception as e:
            LOGGER.error("Cannot parse binary message: %s", e)

After Change


            elif msg_type == "rerun_script":
                full_command = "cd "%s" ; %s" % \
                    (self._connection.cwd, backend_msg.rerun_script)
                yield self._run(full_command)
            else:
                LOGGER.warning("No handler for "%s"", msg_type)
        except Exception as e:
            LOGGER.error("Cannot parse binary message: %s", e)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: streamlit/streamlit
Commit Name: bb968245cfe832d17fd72371c3e5c2f62fefbb36
Time: 2018-08-15
Author: armando@playground.global
File Name: lib/streamlit/proxy/ClientWebSocket.py
Class Name: ClientWebSocket
Method Name: _handle_backend_msg


Project Name: streamlit/streamlit
Commit Name: c276878fa52b11f00aea7049c2abc6d8e745d49b
Time: 2018-08-16
Author: armando@playground.global
File Name: lib/streamlit/proxy/ClientWebSocket.py
Class Name: ClientWebSocket
Method Name: _handle_backend_msg


Project Name: streamlit/streamlit
Commit Name: ea65a5e1cba60b82f9727374b47fbe055d938152
Time: 2018-11-19
Author: thiagot@gmail.com
File Name: lib/streamlit/proxy/ClientWebSocket.py
Class Name: ClientWebSocket
Method Name: _handle_backend_msg