[pypy-commit] pypy virtual-arguments: backout cc8bf3449424

fijal noreply at buildbot.pypy.org
Fri Jul 20 10:48:25 CEST 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: virtual-arguments
Changeset: r56278:7057b4867eb7
Date: 2012-07-20 10:45 +0200
http://bitbucket.org/pypy/pypy/changeset/7057b4867eb7/

Log:	backout cc8bf3449424

diff --git a/pypy/module/__pypy__/bytebuffer.py b/pypy/module/__pypy__/bytebuffer.py
--- a/pypy/module/__pypy__/bytebuffer.py
+++ b/pypy/module/__pypy__/bytebuffer.py
@@ -9,8 +9,6 @@
 class ByteBuffer(RWBuffer):
 
     def __init__(self, len):
-        if len < 0:
-            len = 0
         self.data = ['\x00'] * len
 
     def getlength(self):


More information about the pypy-commit mailing list