[bitcoin/bitcoin] [devtools translations] catch invalid specifiers (#13472)

MarcoFalke commented on this pull request.

> @@ -52,6 +52,10 @@ def find_format_specifiers(s):
percent = s.find(‘%’, pos)
if percent < 0: break + try: + specifiers.append(s[percent+1]) + except: Please no wildcard catches

Добавить комментарий