6582: Fix problem with warning message
svn: r22181
This commit is contained in:
parent
5e42724282
commit
9cddf824a2
@ -387,7 +387,7 @@ class ViewManager(CLIManager):
|
||||
(config.get("behavior.addons-url"), lang[:2]))
|
||||
fp = urlopen(URL, timeout=10)
|
||||
except Exception as err: # some error
|
||||
LOG.warn("Failed to open %s: %s" (lang, str(err)))
|
||||
LOG.warn("Failed to open %s: %s" % (lang, err))
|
||||
fp = None
|
||||
if fp and fp.getcode() == 200: # ok
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user