fix import

This commit is contained in:
Dane Springmeyer 2014-07-24 19:00:15 -07:00
parent 2f08dc29ef
commit ae1c88fb13
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ except ImportError, e:
sys.exit(1) sys.exit(1)
try: try:
import mapnik3 import mapnik
except ImportError: except ImportError:
print '\x1b[31m✘\x1b[0m (\x1b[34m%s\x1b[0m)' % 'import mapnik failed - tests require python bindings' print '\x1b[31m✘\x1b[0m (\x1b[34m%s\x1b[0m)' % 'import mapnik failed - tests require python bindings'
sys.exit(0) sys.exit(0)

View file

@ -4,7 +4,7 @@
import sys import sys
try: try:
import mapnik3 import mapnik
mapnik.logger.set_severity(mapnik.severity_type.None) mapnik.logger.set_severity(mapnik.severity_type.None)
#mapnik.logger.set_severity(mapnik.severity_type.Debug) #mapnik.logger.set_severity(mapnik.severity_type.Debug)
except ImportError: except ImportError: