diff options
| author | Bob Halley <halley@dnspython.org> | 2020-08-26 06:52:14 -0700 |
|---|---|---|
| committer | Bob Halley <halley@dnspython.org> | 2020-08-26 06:52:14 -0700 |
| commit | 4ff8504d140fb346fb15067f70d0e0f6f9db496b (patch) | |
| tree | 23a48a36e74fa13d9e80a489f3f19407a95760d4 /dns | |
| parent | 2c6441960608635772d9ebca26c657113cee3eea (diff) | |
| download | dnspython-4ff8504d140fb346fb15067f70d0e0f6f9db496b.tar.gz | |
restore missing windows tuple-fy
Diffstat (limited to 'dns')
| -rw-r--r-- | dns/rdtypes/ANY/CSYNC.py | 2 | ||||
| -rw-r--r-- | dns/rdtypes/ANY/NSEC.py | 2 | ||||
| -rw-r--r-- | dns/rdtypes/ANY/NSEC3.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/dns/rdtypes/ANY/CSYNC.py b/dns/rdtypes/ANY/CSYNC.py index 0a7925a..979028a 100644 --- a/dns/rdtypes/ANY/CSYNC.py +++ b/dns/rdtypes/ANY/CSYNC.py @@ -43,7 +43,7 @@ class CSYNC(dns.rdata.Rdata): self.flags = self._as_uint16(flags) if not isinstance(windows, Bitmap): windows = Bitmap(windows) - self.windows = windows.windows + self.windows = tuple(windows.windows) def to_text(self, origin=None, relativize=True, **kw): text = Bitmap(self.windows).to_text() diff --git a/dns/rdtypes/ANY/NSEC.py b/dns/rdtypes/ANY/NSEC.py index c3621ac..45c22f0 100644 --- a/dns/rdtypes/ANY/NSEC.py +++ b/dns/rdtypes/ANY/NSEC.py @@ -40,7 +40,7 @@ class NSEC(dns.rdata.Rdata): self.next = self._as_name(next) if not isinstance(windows, Bitmap): windows = Bitmap(windows) - self.windows = windows.windows + self.windows = tuple(windows.windows) def to_text(self, origin=None, relativize=True, **kw): next = self.next.choose_relativity(origin, relativize) diff --git a/dns/rdtypes/ANY/NSEC3.py b/dns/rdtypes/ANY/NSEC3.py index 8089f68..14242bd 100644 --- a/dns/rdtypes/ANY/NSEC3.py +++ b/dns/rdtypes/ANY/NSEC3.py @@ -60,7 +60,7 @@ class NSEC3(dns.rdata.Rdata): self.next = self._as_bytes(next, True, 255) if not isinstance(windows, Bitmap): windows = Bitmap(windows) - self.windows = windows.windows + self.windows = tuple(windows.windows) def to_text(self, origin=None, relativize=True, **kw): next = base64.b32encode(self.next).translate( |
