Fix missing import.
This commit is contained in:
parent
29848f0570
commit
a847ccbeae
|
@ -1,5 +1,5 @@
|
||||||
import re
|
import re
|
||||||
|
import sys
|
||||||
|
|
||||||
# Write the config.c file
|
# Write the config.c file
|
||||||
|
|
||||||
|
@ -37,7 +37,6 @@ def makeconfig(infp, outfp, modules, with_ifdef=0):
|
||||||
# Test program.
|
# Test program.
|
||||||
|
|
||||||
def test():
|
def test():
|
||||||
import sys
|
|
||||||
if not sys.argv[3:]:
|
if not sys.argv[3:]:
|
||||||
print('usage: python makeconfig.py config.c.in outputfile', end=' ')
|
print('usage: python makeconfig.py config.c.in outputfile', end=' ')
|
||||||
print('modulename ...')
|
print('modulename ...')
|
||||||
|
|
Loading…
Reference in New Issue