mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 05:01:14 -07:00
Bump dnspython from 2.0.0 to 2.2.0 (#1618)
* Bump dnspython from 2.0.0 to 2.2.0 Bumps [dnspython]() from 2.0.0 to 2.2.0. --- updated-dependencies: - dependency-name: dnspython dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update dnspython==2.2.0 Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> [skip ci]
This commit is contained in:
parent
515a5d42d3
commit
3c93b5600f
143 changed files with 7498 additions and 2054 deletions
|
@ -42,6 +42,9 @@ class Parser:
|
|||
def get_uint32(self):
|
||||
return struct.unpack('!I', self.get_bytes(4))[0]
|
||||
|
||||
def get_uint48(self):
|
||||
return int.from_bytes(self.get_bytes(6), 'big')
|
||||
|
||||
def get_struct(self, format):
|
||||
return struct.unpack(format, self.get_bytes(struct.calcsize(format)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue