From: Jack Jansen Date: Thu, 1 Mar 2001 23:15:54 +0000 (+0000) Subject: Silly typo which caused the stack browser to crash. X-Git-Tag: v2.1b1~50 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dbd0c3a12462d10f1f817a133212d79b25553049;p=thirdparty%2FPython%2Fcpython.git Silly typo which caused the stack browser to crash. --- diff --git a/Mac/Tools/IDE/PyBrowser.py b/Mac/Tools/IDE/PyBrowser.py index 853392f5256f..9eaa809e5b22 100644 --- a/Mac/Tools/IDE/PyBrowser.py +++ b/Mac/Tools/IDE/PyBrowser.py @@ -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