6582: Fix problem with warning message
svn: r22180
This commit is contained in:
parent
88c7dfd37d
commit
fb22b83f14
@ -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