Silly typo which caused the stack browser to crash.

This commit is contained in:
Jack Jansen 2001-03-01 23:15:54 +00:00
parent a647807e40
commit dbd0c3a124
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ arrows = (nullid, closedid, openid, closedsolidid, opensolidid)
has_ctlcharsRE = re.compile('[\000-\037\177-\377]')
def ctlcharsREsearch(str):
if has_ctlcharsRE(str) is None:
if has_ctlcharsRE.search(str) is None:
return -1
return 1