From 909411ce9df1ae022adccaca3813a2dbf4ab2f45 Mon Sep 17 00:00:00 2001 From: Jaka Kranjc Date: Mon, 5 Aug 2013 17:49:51 +0200 Subject: [PATCH] FindQsci: removed the unused exception holder variable master didn't build without that: -- Found PyQt4 version: 4.10 File "~/carina/Quantum-GIS/cmake/FindQsci.py", line 41 except ImportError, e: ^ SyntaxError: invalid syntax --- cmake/FindQsci.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/FindQsci.py b/cmake/FindQsci.py index c8ce3906250..7bd760b5abf 100644 --- a/cmake/FindQsci.py +++ b/cmake/FindQsci.py @@ -38,7 +38,7 @@ __copyright__ = 'Copyright 2012, The QGIS Project' try: from PyQt4.Qsci import QSCINTILLA_VERSION_STR VER = QSCINTILLA_VERSION_STR -except ImportError, e: +except ImportError: VER = ""