Replace pprintpp usage by devtools.debug

This commit is contained in:
miruka
2021-01-16 08:37:21 -04:00
parent 0dadf7de97
commit 626a43b7b0
3 changed files with 6 additions and 12 deletions

View File

@@ -55,13 +55,8 @@ class Model(MutableMapping):
def __repr__(self) -> str:
"""Provide a full representation of the model and its content."""
try:
from pprintpp import pformat
except ImportError:
from pprint import pformat # type: ignore
return "%s(sync_id=%s, %s)" % (
type(self).__name__, self.sync_id, pformat(self._data),
type(self).__name__, self.sync_id, self._data,
)