Geography : same as for trunk from vassilii : fix l10n call when wrong osmgpsmap version reported

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


svn: r19333
This commit is contained in:
Serge Noiraud 2012-04-15 07:04:58 +00:00
parent 356d9d03f4
commit 27cd29b0c9

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