Files
deb-python-httpretty/httpretty
Cyril Roelandt fc598218cf Remove bytes in calls to str.split()
It is useless to write foo.split(b'bar') rather than foo.split(bar). In Python
2, this is exactly the same thing:

    >>> 'fooXbar'.split('X')
    ['foo', 'bar']
    >>> 'fooXbar'.split(b'X')
    ['foo', 'bar']

In Python 3, using bytes in split() is an error:

    >>> 'fooXbar'.split('X')
    ['foo', 'bar']
    >>> 'fooXbar'.split(b'X')
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    TypeError: Can't convert 'bytes' object to str implicitly
2013-12-18 12:26:12 +01:00
..
2013-11-21 15:42:07 -05:00
2013-12-18 12:26:12 +01:00
2013-09-30 16:18:02 -04:00