[pypy-svn] r53456 - pypy/dist/pypy/lib

arigo at codespeak.net arigo at codespeak.net
Sun Apr 6 16:36:49 CEST 2008


Author: arigo
Date: Sun Apr  6 16:36:49 2008
New Revision: 53456

Modified:
   pypy/dist/pypy/lib/readline.py
Log:
Bug fix.


Modified: pypy/dist/pypy/lib/readline.py
==============================================================================
--- pypy/dist/pypy/lib/readline.py	(original)
+++ pypy/dist/pypy/lib/readline.py	Sun Apr  6 16:36:49 2008
@@ -70,8 +70,7 @@
         if self.startup_hook is not None:
             self.startup_hook()
         reader.ps1 = prompt
-        result = reader.readline()
-        return result + '\n'
+        return reader.readline()
 
     def parse_and_bind(self, string):
         pass  # XXX we don't support parsing GNU-readline-style init files


More information about the pypy-svn mailing list