1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-20 10:24:18 +03:00
Files
esp8266/tools
Carlos Ruiz 82be4d02dc Wrap get.py's "if __name__ == '__main__':" into a function so it can be externally called (#4475)
Adding the Arduino repo as a git submodule can be very useful for version control. However, `git submodule update` is not enough, as the tools need to be downloaded through `get.py`. Wrapping the main code in that script into its own function allows an external Python script to import the module and execute its functionality without relying on the unsafe `execfile` (or `Popen`). The main advantage would be easy flow control in case of error (eg: issue #4464).
2019-02-07 16:31:37 +00:00
..
2018-12-08 17:45:23 -03:00