Browse files

Bumped to 1.40.1 with re-attempted Vector import to trigger a more-us…

…eful error
  • Loading branch information...
1 parent fe9a2b0 commit ce9fe44c9224460a190eee26cda5675f86a3edae Michal Migurski committed Sep 9, 2012
Showing with 7 additions and 3 deletions.
  1. +3 −0 CHANGELOG
  2. +3 −2 TileStache/Providers.py
  3. +1 −1 VERSION
View
3 CHANGELOG
@@ -1,3 +1,6 @@
+2012-09-09: 1.40.1
+- Re-attempting Vector import to trigger a more-useful error than NameError in getProviderByName().
+
2012-09-04: 1.40.0
- Added TileStache.Sandwich provider based on previous Composite provider under Goodies.
- Modified import method for provider to reduce burden of required packages and improve error output.
View
5 TileStache/Providers.py
@@ -89,8 +89,8 @@
import Geography
-# This import should happen inside getProviderByName,
-# but then features are not output. Wierd-ass C libraries...
+# This import should happen inside getProviderByName(), but when testing
+# on Mac OS X features are missing from output. Wierd-ass C libraries...
try:
from . import Vector
except ImportError:
@@ -119,6 +119,7 @@ def getProviderByName(name):
return UrlTemplate
elif name.lower() == 'vector':
+ from . import Vector
return Vector.Provider
elif name.lower() == 'mbtiles':
View
2 VERSION
@@ -1 +1 @@
-1.40.0
+1.40.1

0 comments on commit ce9fe44

Please sign in to comment.