More tests passing on Python 3.

This commit is contained in:
Itamar Turner-Trauring
2021-03-03 14:42:55 -05:00
parent 5ec52f9885
commit 2c3353f2fa
2 changed files with 19 additions and 19 deletions

View File

@ -364,8 +364,8 @@ class _StoragePlugins(object):
"""
return set(
config.get_config(
"storage", "plugins", b""
).decode("ascii").split(u",")
"storage", "plugins", ""
).split(u",")
) - {u""}
@classmethod
@ -870,7 +870,7 @@ class _Client(node.Node, pollmixin.PollMixin):
"""
Register a storage server.
"""
config_key = b"storage-plugin.{}.furl".format(
config_key = "storage-plugin.{}.furl".format(
# Oops, why don't I have a better handle on this value?
announceable_storage_server.announcement[u"name"],
)