remove try/except around 'import mapnik' which is more trouble than help

This commit is contained in:
Dane Springmeyer 2015-01-08 10:32:24 -08:00
parent 8db7f58e8f
commit 63ccb4c36c

View file

@ -23,13 +23,7 @@
import sys
from os import path
try:
import mapnik
except:
print '\n\nThe mapnik library and python bindings must have been compiled and \
installed successfully before running this script.\n\n'
sys.exit(1)
import mapnik
# Instanciate a map, giving it a width and height. Remember: the word "map" is
# reserved in Python! :)