merge with stable

This commit is contained in:
Takayuki Shimizukawa
2014-09-02 00:11:32 +09:00
3 changed files with 6 additions and 4 deletions

View File

@@ -130,7 +130,8 @@ else:
jscatalog = {}
for message in catalog:
if any(x[0].endswith(('.js', '.js_t', '.html')) for x in message.locations):
if any(x[0].endswith(('.js', '.js_t', '.html'))
for x in message.locations):
msgid = message.id
if isinstance(msgid, (list, tuple)):
msgid = msgid[0]