I see your point.... let me see if I can come up with something a bit nicer.


On 17 April 2013 18:42, Benjamin Anderson <notifications@github.com> wrote:

> In bernhard/__init__.py:
>
> > @@ -31,7 +32,9 @@ def write(self, message):
> >              rxlen = struct.unpack('!I', self.sock.recv(4))[0]
> >              # Rx response chunks
> >              response = [self.sock.recv(4096) for _ in xrange(0, rxlen, 4096)]
> > -            return ''.join(response)
> > +            if sys.version_info > (3,):
>
> Is there a way to clean this bit up? Matching on the actual version feels
> a bit dirty...
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/banjiewen/bernhard/pull/5/files#r3837881>
> .
>