Author: Antonio Cuni <[email protected]>
Branch: 
Changeset: r258:cef132a7e464
Date: 2014-08-02 10:15 +0100
http://bitbucket.org/pypy/pyrepl/changeset/cef132a7e464/

Log:    fix this bug, which has been around unnoticed forever

diff --git a/pyrepl/completing_reader.py b/pyrepl/completing_reader.py
--- a/pyrepl/completing_reader.py
+++ b/pyrepl/completing_reader.py
@@ -40,9 +40,8 @@
 
 STRIPCOLOR_REGEX = re.compile(r"\x1B\[([0-9]{1,3}(;[0-9]{1,2})?)?[m|K]")
 
-
 def stripcolor(s):
-    return STRIPCOLOR_REGEX.regexp.sub('', s)
+    return STRIPCOLOR_REGEX.sub('', s)
 
 
 def real_len(s):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to