mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 13:11:15 -07:00
Bump rumps from 0.3.0 to 0.4.0 (#1896)
* Bump rumps from 0.3.0 to 0.4.0 Bumps [rumps](https://github.com/jaredks/rumps) from 0.3.0 to 0.4.0. - [Release notes](https://github.com/jaredks/rumps/releases) - [Changelog](https://github.com/jaredks/rumps/blob/master/CHANGES.rst) - [Commits](https://github.com/jaredks/rumps/commits) --- updated-dependencies: - dependency-name: rumps dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update rumps==0.4.0 Signed-off-by: dependabot[bot] <support@github.com> 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
b31d75aeee
commit
79cf61c53e
11 changed files with 573 additions and 243 deletions
|
@ -1,17 +1,33 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
"""
|
||||
rumps.compat
|
||||
~~~~~~~~~~~~
|
||||
|
||||
Compatibility for Python 2 and Python 3 major versions.
|
||||
|
||||
:copyright: (c) 2020 by Jared Suttles
|
||||
:license: BSD-3-Clause, see LICENSE for details.
|
||||
"""
|
||||
|
||||
import sys
|
||||
|
||||
PY2 = sys.version_info[0] == 2
|
||||
|
||||
if not PY2:
|
||||
binary_type = bytes
|
||||
text_type = str
|
||||
string_types = (str,)
|
||||
|
||||
iteritems = lambda d: iter(d.items())
|
||||
|
||||
import collections.abc as collections_abc
|
||||
|
||||
else:
|
||||
binary_type = ()
|
||||
text_type = unicode
|
||||
string_types = (str, unicode)
|
||||
|
||||
iteritems = lambda d: d.iteritems()
|
||||
|
||||
import collections as collections_abc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue