summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Beattie <steve.beattie@canonical.com>2023-02-28 09:27:58 +0000
committerColin Watson <cjwatson@debian.org>2023-12-17 16:02:56 +0000
commit026778d159438cdb3aee51d24267a384926820b8 (patch)
treef47f55c7347e03a61338aea67bdd70233fcacfe7
parent4517cbc64accad088a015437ed728121869172dc (diff)
Fix saving macaroons in MozillaCookieJar() on Python 3.10
Origin: other, https://github.com/go-macaroon-bakery/py-macaroon-bakery/issues/88#issue-1214739879 Bug: https://github.com/go-macaroon-bakery/py-macaroon-bakery/issues/88 Reviewed-by: Alex Murray <alex.murray@canonical.com> Last-Update: 2023-02-28 Gbp-Pq: Name fix-saving-macaroons-in-mozillacookiejar.patch
-rw-r--r--macaroonbakery/_utils/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/macaroonbakery/_utils/__init__.py b/macaroonbakery/_utils/__init__.py
index 977cdbe..d1afe31 100644
--- a/macaroonbakery/_utils/__init__.py
+++ b/macaroonbakery/_utils/__init__.py
@@ -160,7 +160,7 @@ def cookie(
discard=False,
comment=None,
comment_url=None,
- rest=None,
+ rest={},
rfc2109=False,
)