mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-18 09:47:27 +08:00
[tools] format python code
This commit is contained in:

committed by
Man, Jianting (Meco)

parent
af82606dd3
commit
eafcdd0bc2
@@ -26,11 +26,11 @@
|
||||
#
|
||||
|
||||
"""
|
||||
wizard.py - a script to generate SConscript in RT-Thread RTOS.
|
||||
wizard.py - a script to generate SConscript in RT-Thread RTOS.
|
||||
|
||||
`wizard --component name' to generate SConscript for name component.
|
||||
`wizard --bridge' to generate SConscript as a bridge to connect each
|
||||
SConscript script file of sub-directory.
|
||||
`wizard --bridge' to generate SConscript as a bridge to connect each
|
||||
SConscript script file of sub-directory.
|
||||
"""
|
||||
|
||||
import sys
|
||||
@@ -86,7 +86,7 @@ if __name__ == '__main__':
|
||||
if len(sys.argv) == 1:
|
||||
usage()
|
||||
sys.exit(2)
|
||||
|
||||
|
||||
if sys.argv[1] == '--component':
|
||||
gen_component(sys.argv[2])
|
||||
elif sys.argv[1] == '--bridge':
|
||||
|
Reference in New Issue
Block a user