py/makeqstrdefs.py: Remove unused function/variable/import.
This commit is contained in:
parent
7a012f4793
commit
b2b771ca02
@ -5,7 +5,6 @@ qstr. Each qstr is transformed into a qstr definition of the form 'Q(...)'.
|
||||
This script works with Python 2.6, 2.7, 3.3 and 3.4.
|
||||
"""
|
||||
|
||||
import sys
|
||||
import re
|
||||
import argparse
|
||||
import os
|
||||
@ -15,11 +14,6 @@ import os
|
||||
QSTRING_BLACK_LIST = {'NULL', 'number_of', }
|
||||
|
||||
|
||||
def debug(message):
|
||||
#sys.stderr.write("%s\n" % message)
|
||||
pass
|
||||
|
||||
|
||||
def write_out(fname, output):
|
||||
if output:
|
||||
fname = fname.replace("/", "__").replace("..", "@@")
|
||||
@ -29,7 +23,6 @@ def write_out(fname, output):
|
||||
def process_file(f):
|
||||
output = []
|
||||
last_fname = None
|
||||
outf = None
|
||||
for line in f:
|
||||
if line and line[0:2] == "# ":
|
||||
comp = line.split()
|
||||
|
Loading…
x
Reference in New Issue
Block a user