]> granicus.if.org Git - python/commitdiff
Silly typo which caused the stack browser to crash.
authorJack Jansen <jack.jansen@cwi.nl>
Thu, 1 Mar 2001 23:15:54 +0000 (23:15 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Thu, 1 Mar 2001 23:15:54 +0000 (23:15 +0000)
Mac/Tools/IDE/PyBrowser.py

index 853392f5256fe28bfff946d89512261c91ea0d1a..9eaa809e5b22d24a26e0e09ce8b375589ada82cd 100644 (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