Merge pull request #10860 from Bob-the-Kuhn/upload-extra-script-fix
[2.0.x] LPC1768 upload_extra_script.py fix (wrong type of exit method)
This commit is contained in:
commit
498a328148
|
@ -18,9 +18,7 @@ current_OS = platform.system()
|
||||||
#exit(0)
|
#exit(0)
|
||||||
|
|
||||||
build_type = os.environ.get("BUILD_TYPE", 'Not Set')
|
build_type = os.environ.get("BUILD_TYPE", 'Not Set')
|
||||||
if not(build_type == 'upload' or build_type == 'traceback' or build_type == 'Not Set') :
|
if build_type == 'upload' or build_type == 'traceback' or build_type == 'Not Set' :
|
||||||
exit(0)
|
|
||||||
|
|
||||||
|
|
||||||
if current_OS == 'Windows':
|
if current_OS == 'Windows':
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue