Skip to content

Commit

Permalink
Drop usage of six
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Dick committed Sep 30, 2023
1 parent 73dc732 commit 7473079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perfact/zodbsync/zodbsync.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def mod_read(obj=None, onerrorstop=False, default_owner=None,
# The title should always be readable
title = getattr(obj, 'title', None)
# see comment in helpers.py:str_repr for why we convert to string
if isinstance(title, (six.binary_type, six.text_type)):
if isinstance(title, (bytes, str)):
meta['title'] = to_string(title)

# Generic and meta type dependent handlers
Expand Down

0 comments on commit 7473079

Please sign in to comment.