Skip to content

Commit

Permalink
[script.module.xbmcswift2] 19.0.7 (#2157)
Browse files Browse the repository at this point in the history
Co-authored-by: enenbot <92enen@gmail.com>
  • Loading branch information
enenbot and enen92 committed Nov 23, 2021
1 parent 0af3e00 commit dcde280
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions script.module.xbmcswift2/addon.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<addon id="script.module.xbmcswift2" name="xbmcswift2" provider-name="Jonathan Beluch (jbel), enen92" version="19.0.6">
<addon id="script.module.xbmcswift2" name="xbmcswift2" provider-name="Jonathan Beluch (jbel), enen92" version="19.0.7">
<requires>
<import addon="xbmc.python" version="3.0.0" />
</requires>
Expand All @@ -9,7 +9,7 @@
<license>GPL-3.0</license>
<summary lang="en_GB">xbmcswift2 is a small framework to ease development of KODI addons.</summary>
<description lang="en_GB">xbmcswift2 is a small framework to ease development of KODI addons.</description>
<news>Add container.refresh</news>
<news>Fixes for python 3.10 - move collections.MutableMapping to collections.abc.MutableMapping</news>
<assets>
<icon>icon.png</icon>
</assets>
Expand Down
4 changes: 2 additions & 2 deletions script.module.xbmcswift2/lib/xbmcswift2/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def raw_dict(self):
raise NotImplementedError


class _Storage(collections.MutableMapping, _PersistentDictMixin):
class _Storage(collections.abc.MutableMapping, _PersistentDictMixin):
'''Storage that acts like a dict but also can persist to disk.
:param filename: An absolute filepath to reprsent the storage on disk. The
Expand Down Expand Up @@ -146,7 +146,7 @@ def raw_dict(self):
'''Returns the wrapped dict'''
return self._items

initial_update = collections.MutableMapping.update
initial_update = collections.abc.MutableMapping.update

def clear(self):
super(_Storage, self).clear()
Expand Down

0 comments on commit dcde280

Please sign in to comment.