geography : osmgpsmap must be >= 0.7.0

svn: r17291
This commit is contained in:
Serge Noiraud 2011-04-27 10:37:05 +00:00
parent c8b4d59ddb
commit 24af34a84b

View File

@ -30,6 +30,11 @@
try :
import osmgpsmap
OSMGPSMAP = True
if osmgpsmap.__version__ < '0.7.0':
OSMGPSMAP = False
import sys
print >> sys.stderr, _("WARNING: osmgpsmap module not loaded. "
"osmgpsmap must be >= 0.7.0. yours is %s" % osmgpsmap.__version__ )
except:
OSMGPSMAP = False
import sys