summaryrefslogtreecommitdiff
path: root/src/mailman/rest/helpers.py
diff options
context:
space:
mode:
authorBarry Warsaw2010-02-25 20:11:28 -0500
committerBarry Warsaw2010-02-25 20:11:28 -0500
commitea7bb1a31c51a59949310c9837020908476e2c0d (patch)
tree1ee1bfbddfb66ebd791637bf22741a8fd8847868 /src/mailman/rest/helpers.py
parent33dc7b55e48c6e343a6a5e7518a3c8cb4e70b347 (diff)
downloadmailman-ea7bb1a31c51a59949310c9837020908476e2c0d.tar.gz
mailman-ea7bb1a31c51a59949310c9837020908476e2c0d.tar.zst
mailman-ea7bb1a31c51a59949310c9837020908476e2c0d.zip
Diffstat (limited to 'src/mailman/rest/helpers.py')
-rw-r--r--src/mailman/rest/helpers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/rest/helpers.py b/src/mailman/rest/helpers.py
index d1afdb0d9..fac4ae4f1 100644
--- a/src/mailman/rest/helpers.py
+++ b/src/mailman/rest/helpers.py
@@ -41,9 +41,9 @@ def path_to(resource):
system base URI.
:type resource: string
:return: The full path to the resource.
- :rtype: string
+ :rtype: bytes
"""
- return '{0}://{1}:{2}/{3}/{4}'.format(
+ return b'{0}://{1}:{2}/{3}/{4}'.format(
('https' if as_boolean(config.webservice.use_https) else 'http'),
config.webservice.hostname,
config.webservice.port,