Changeset 1660

Show
Ignore:
Timestamp:
09/10/08 21:42:25 (3 months ago)
Author:
nick
Message:

Updated ByteArray to not access private members

Location:
pyamf/branches/gerard-cpyamf-225/pyamf
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • pyamf/branches/gerard-cpyamf-225/pyamf/amf3.py

    r1609 r1660  
    507507            return cmp(self.getvalue(), other.getvalue()) 
    508508 
    509         return cmp(self._buffer, other) 
     509        return cmp(self.getvalue(), other) 
    510510 
    511511    def __str__(self): 
     
    514514        if self.compressed: 
    515515            buf = zlib.compress(buf) 
    516             #FIXME nick: hacked 
    517             buf = buf[0] + '\xda' + buf[2:] 
    518516 
    519517        return buf 
  • pyamf/branches/gerard-cpyamf-225/pyamf/util/__init__.py

    r1612 r1660  
    691691except ImportError: 
    692692    pass 
    693  
    694