diff options
| author | Barry Warsaw | 2016-07-16 15:44:07 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2016-07-16 15:44:07 -0400 |
| commit | dbde6231ec897379ed38ed4cd015b8ab20ed5fa1 (patch) | |
| tree | 1226d06a238314262a1d04d0bbf9c4dc0b72c309 /src/mailman/rest/header_matches.py | |
| parent | 3387791beb7112dbe07664041f117fdcc20df53d (diff) | |
| download | mailman-dbde6231ec897379ed38ed4cd015b8ab20ed5fa1.tar.gz mailman-dbde6231ec897379ed38ed4cd015b8ab20ed5fa1.tar.zst mailman-dbde6231ec897379ed38ed4cd015b8ab20ed5fa1.zip | |
Diffstat (limited to 'src/mailman/rest/header_matches.py')
| -rw-r--r-- | src/mailman/rest/header_matches.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman/rest/header_matches.py b/src/mailman/rest/header_matches.py index a9ccd2e35..25c519ef3 100644 --- a/src/mailman/rest/header_matches.py +++ b/src/mailman/rest/header_matches.py @@ -82,7 +82,7 @@ class HeaderMatch(_HeaderMatchBase): else: no_content(response) - def patch_put(self, request, response, is_optional): + def _patch_put(self, request, response, is_optional): """Update the header match.""" try: header_match = self.header_matches[self._position] @@ -118,11 +118,11 @@ class HeaderMatch(_HeaderMatchBase): def on_put(self, request, response): """Full update of the header match.""" - self.patch_put(request, response, is_optional=False) + self._patch_put(request, response, is_optional=False) def on_patch(self, request, response): """Partial update of the header match.""" - self.patch_put(request, response, is_optional=True) + self._patch_put(request, response, is_optional=True) @public |
