Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a847ccb

Browse files
committed
Fix missing import.
1 parent 29848f0 commit a847ccb

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Tools/freeze/makeconfig.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import re
2-
2+
import sys
33

44
# Write the config.c file
55

@@ -37,7 +37,6 @@ def makeconfig(infp, outfp, modules, with_ifdef=0):
3737
# Test program.
3838

3939
def test():
40-
import sys
4140
if not sys.argv[3:]:
4241
print('usage: python makeconfig.py config.c.in outputfile', end=' ')
4342
print('modulename ...')

0 commit comments

Comments
 (0)