diff --git a/tools/build-addon-index.py b/tools/build-addon-index.py index f33d1ae791d..d2bb7aacc31 100755 --- a/tools/build-addon-index.py +++ b/tools/build-addon-index.py @@ -37,7 +37,6 @@ def __init__(self, filename): if lst[0][0] != "supertux-addoninfo": raise Exception("not a supertux-addoninfo: %s" % lst[0][0]) else: - tags = {} for k, v in lst[0][1:]: if k == "id": self.id = v diff --git a/tools/font-add-border.py b/tools/font-add-border.py index a9e0b449651..02c937a0a70 100755 --- a/tools/font-add-border.py +++ b/tools/font-add-border.py @@ -16,7 +16,6 @@ # along with this program. If not, see . from PIL import Image -import sys import argparse # Add a 1 pixel border around every glyph in a font diff --git a/tools/font-generator.py b/tools/font-generator.py index 789a9a725f8..d33c02243e2 100755 --- a/tools/font-generator.py +++ b/tools/font-generator.py @@ -21,7 +21,6 @@ import argparse import cairo import codecs -import math import re class FontGenerator(object): diff --git a/tools/sexpr.py b/tools/sexpr.py index 4c69f920f6f..98d2e7b09ae 100755 --- a/tools/sexpr.py +++ b/tools/sexpr.py @@ -18,7 +18,6 @@ # misrepresented as being the original software. # 3. This notice may not be removed or altered from any source distribution. -import re import codecs def parse(text):