Skip to content

Commit b2b771c

Browse files
stinosdpgeorge
authored andcommitted
py/makeqstrdefs.py: Remove unused function/variable/import.
1 parent 7a012f4 commit b2b771c

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

py/makeqstrdefs.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
This script works with Python 2.6, 2.7, 3.3 and 3.4.
66
"""
77

8-
import sys
98
import re
109
import argparse
1110
import os
@@ -15,11 +14,6 @@
1514
QSTRING_BLACK_LIST = {'NULL', 'number_of', }
1615

1716

18-
def debug(message):
19-
#sys.stderr.write("%s\n" % message)
20-
pass
21-
22-
2317
def write_out(fname, output):
2418
if output:
2519
fname = fname.replace("/", "__").replace("..", "@@")
@@ -29,7 +23,6 @@ def write_out(fname, output):
2923
def process_file(f):
3024
output = []
3125
last_fname = None
32-
outf = None
3326
for line in f:
3427
if line and line[0:2] == "# ":
3528
comp = line.split()

0 commit comments

Comments
 (0)