Minor patch

This commit is contained in:
Miroslav Stampar 2014-04-16 09:06:17 +02:00
parent ef5ce7e66c
commit f29769b7d0

View File

@ -16,7 +16,7 @@ extensions = ("gzip", "ssl", "sqlite3", "zlib")
try:
for _ in extensions:
__import__(_)
except ImportError, ex:
except ImportError:
errMsg = "missing one or more core extensions (%s) " % (", ".join("'%s'" % _ for _ in extensions))
errMsg += "most probably because current version of Python has been "
errMsg += "built without appropriate dev packages (e.g. 'libsqlite3-dev')"