1 parent 7a012f4 commit b2b771cCopy full SHA for b2b771c
1 file changed
py/makeqstrdefs.py
@@ -5,7 +5,6 @@
5
This script works with Python 2.6, 2.7, 3.3 and 3.4.
6
"""
7
8
-import sys
9
import re
10
import argparse
11
import os
@@ -15,11 +14,6 @@
15
14
QSTRING_BLACK_LIST = {'NULL', 'number_of', }
16
17
18
-def debug(message):
19
- #sys.stderr.write("%s\n" % message)
20
- pass
21
-
22
23
def write_out(fname, output):
24
if output:
25
fname = fname.replace("/", "__").replace("..", "@@")
@@ -29,7 +23,6 @@ def write_out(fname, output):
29
def process_file(f):
30
output = []
31
last_fname = None
32
- outf = None
33
26
for line in f:
34
27
if line and line[0:2] == "# ":
35
28
comp = line.split()
0 commit comments