ros / dynamic_reconfigure

BSD 3-Clause "New" or "Revised" License
48 stars 111 forks source link

[noetic] Explicit to use sys.exit #159

Open seanyen opened 3 years ago

seanyen commented 3 years ago

According to this, the exit idiom doesn't always exist in a Python environment. For example, if the embeddable package is in use as the runtime, the site module won't be loaded by default and exit won't be available in this setting.

This patch is to use sys.exit which is built-in in the sys module.