From d6aa225ca7990fde1eac09e28078e71b73d113ce Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 18 Sep 2011 17:02:26 -0400 Subject: Fix --disable-png behaviour in the Python module. --- libdimension-python/tests/canvas.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libdimension-python/tests/canvas.py') diff --git a/libdimension-python/tests/canvas.py b/libdimension-python/tests/canvas.py index 3b2057e..239a548 100755 --- a/libdimension-python/tests/canvas.py +++ b/libdimension-python/tests/canvas.py @@ -19,8 +19,8 @@ # along with this program. If not, see . # ######################################################################### -from dimension import * import errno +from dimension import * # Treat warnings as errors for tests die_on_warnings(True) @@ -35,7 +35,7 @@ try: canvas.optimize_PNG() except OSError as e: if e.errno == errno.ENOSYS: - havePNG = False + have_PNG = False else: raise -- cgit v1.2.3