Commit 84899793 authored by Tomas Krizek's avatar Tomas Krizek

python: import MutableMapping from

Old-style is deprecated and will be removed in Python 3.8.
parent 2a9c7de5
......@@ -5,7 +5,7 @@
import posixpath
import logging
import os
import collections
from augeas import Augeas
......@@ -122,7 +122,7 @@ class AugeasWrapper:
yield AugeasNode(self._aug, matched_path)
class AugeasNode(collections.MutableMapping):
class AugeasNode(
"""One Augeas tree node with dict-like interface."""
def __init__(self, aug, path):
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment