From 24af34a84b156615cbe5eb2cf2664b262ae8848d Mon Sep 17 00:00:00 2001 From: Serge Noiraud Date: Wed, 27 Apr 2011 10:37:05 +0000 Subject: [PATCH] geography : osmgpsmap must be >= 0.7.0 svn: r17291 --- src/plugins/view/geography.gpr.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/plugins/view/geography.gpr.py b/src/plugins/view/geography.gpr.py index 2fb17121b..28a080452 100644 --- a/src/plugins/view/geography.gpr.py +++ b/src/plugins/view/geography.gpr.py @@ -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