[pypy-commit] pyrepl default: kill disabled setaf writeout code

RonnyPfannschmidt noreply at buildbot.pypy.org
Thu May 3 10:33:17 CEST 2012


Author: Ronny Pfannschmidt <Ronny.Pfannschmidt at gmx.de>
Branch: 
Changeset: r173:54c21f79d92f
Date: 2012-05-03 10:25 +0200
http://bitbucket.org/pypy/pyrepl/changeset/54c21f79d92f/

Log:	kill disabled setaf writeout code

diff --git a/pyrepl/unix_console.py b/pyrepl/unix_console.py
--- a/pyrepl/unix_console.py
+++ b/pyrepl/unix_console.py
@@ -192,16 +192,6 @@
         old_offset = offset = self.__offset
         height = self.height
 
-        if 0:
-            global counter
-            try:
-                counter
-            except NameError:
-                counter = 0
-            self.__write_code(curses.tigetstr("setaf"), counter)
-            counter += 1
-            if counter > 8:
-                counter = 0
 
         # we make sure the cursor is on the screen, and that we're
         # using all of the screen if we can


More information about the pypy-commit mailing list