3911: Crash because of syntax error in name format
svn: r15302
This commit is contained in:
parent
527db10555
commit
652a1f132b
@ -393,8 +393,11 @@ class NameDisplay(object):
|
|||||||
]
|
]
|
||||||
format_str = format_str[1:]
|
format_str = format_str[1:]
|
||||||
else:
|
else:
|
||||||
patterns = [",\W*\(%(" + ("|".join(codes)) + ")\)", # ,\W*(%s)
|
patterns = [
|
||||||
|
",\W*\"%(" + ("|".join(codes)) + ")\"", # ,\W*"%s"
|
||||||
|
",\W*\(%(" + ("|".join(codes)) + ")\)", # ,\W*(%s)
|
||||||
",\W*%(" + ("|".join(codes)) + ")", # ,\W*%s
|
",\W*%(" + ("|".join(codes)) + ")", # ,\W*%s
|
||||||
|
"\"%(" + ("|".join(codes)) + ")\"", # "%s"
|
||||||
"\(%(" + ("|".join(codes)) + ")\)", # (%s)
|
"\(%(" + ("|".join(codes)) + ")\)", # (%s)
|
||||||
"%(" + ("|".join(codes)) + ")", # %s
|
"%(" + ("|".join(codes)) + ")", # %s
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user