diff options
author | stijn <stinos@zoho.com> | 2016-04-23 18:17:21 +0200 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-04-25 22:34:20 +0100 |
commit | b2b771ca02327ce2a1a6896a0c2cd15b26834737 (patch) | |
tree | 7ba3e856c3b259399e60fd9457c5d9c572944149 /py/makeqstrdefs.py | |
parent | 7a012f4793c15d082b888591c25f39cb4625dc61 (diff) |
py/makeqstrdefs.py: Remove unused function/variable/import.
Diffstat (limited to 'py/makeqstrdefs.py')
-rw-r--r-- | py/makeqstrdefs.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/py/makeqstrdefs.py b/py/makeqstrdefs.py index d02fb7e3a..95e7c80a4 100644 --- a/py/makeqstrdefs.py +++ b/py/makeqstrdefs.py @@ -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() |