geography view plugin: fix l10n call when wrong osmgpsmap version reported

(parameters should be substituted only AFTER _() is called)

svn: r19263
This commit is contained in:
Vassilii Khachaturov 2012-04-07 13:12:54 +00:00
parent 10b88a5cc0
commit 64ba41c5fd

View File

@ -34,7 +34,7 @@ try :
OSMGPSMAP = False
import sys
print >> sys.stderr, _("WARNING: osmgpsmap module not loaded. "
"osmgpsmap must be >= 0.7.0. yours is %s" % osmgpsmap.__version__ )
"osmgpsmap must be >= 0.7.0. yours is %s") % osmgpsmap.__version__
except:
OSMGPSMAP = False
import sys