diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2018-08-03 10:08:08 -0700 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2018-08-04 16:21:31 +0100 |
commit | 273f4143626020321b6cf15f94ff0a5ec71d642d (patch) | |
tree | f45df49e1b2f0c99c949f30c4cfab1cc7d465b6c /tests/db/utils_test.py | |
parent | 6221824388b0e43c6e2980934f14e4374628995d (diff) |
db: encode Header objects to str
In python 3 with the use of Policy objects (other than the Compat32
object which maintains the previous (python 2.x and <=3.2) API) change
the way headers work, and the old Header object is no longer used. This
is rather convenient in that python now implements many of the rules
required for sepcial header types, but it changes the API. This fixes
that by encoding the Header objects to strings.
Fixes #1289
Diffstat (limited to 'tests/db/utils_test.py')
0 files changed, 0 insertions, 0 deletions