Cosimo Lupo ca235ea8a1
[cffLib] fix "TypeError: cannot use a string pattern on a bytes-like object"
This is just to make the tests pass, otherwise the following re.sub call fails with TypeError on Python 3.

However, I wonder why we need to replace all newlines with spaces in 'Notice' and 'Copyright' fields?

```
if name in ['Notice', 'Copyright']:
    value = re.sub(r"[\r\n]\s+", " ", value)
```

We shall ask Read about this.
2017-03-05 23:11:41 +00:00
..