Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/i2mint/dol
Browse files Browse the repository at this point in the history
  • Loading branch information
thorwhalen committed Nov 17, 2023
2 parents b8e5823 + 4a88a0b commit 07aa6f5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion dol/kv_codecs.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,9 @@ def is_value_codec(attr_val):

import quopri, plistlib

quopri: ValueCodec[bytes, bytes] = value_wrap(quopri.encodestring, quopri.decodestring)
quopri: ValueCodec[bytes, bytes] = value_wrap(
quopri.encodestring, quopri.decodestring
)
plistlib: ValueCodec[bytes, bytes] = value_wrap(
plistlib.dumps, plistlib.loads, exclude=('fmt',)
)
Expand Down
2 changes: 1 addition & 1 deletion dol/trans.py
Original file line number Diff line number Diff line change
Expand Up @@ -3035,4 +3035,4 @@ def __call__(self, obj):

class KeyCodec(Generic[DecodedType, EncodedType], Codec[DecodedType, EncodedType]):
def __call__(self, obj):
return wrap_kvs(obj, id_of_key=self.encoder, key_of_id=self.decoder)
return wrap_kvs(obj, id_of_key=self.encoder, key_of_id=self.decoder)
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = dol
version = 0.2.11
version = 0.2.12
url = https://github.com/i2mint/dol
platforms = any
description_file = README.md
Expand Down

0 comments on commit 07aa6f5

Please sign in to comment.