diff options
author | nicolargo <nicolas@nicolargo.com> | 2021-04-20 15:55:39 +0200 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2021-04-20 15:55:39 +0200 |
commit | d27c75bf88b64122de199015e39f35e6a637b363 (patch) | |
tree | e5b55ad022f6cec41547aedbba4a60968b348fab /glances | |
parent | 6f50664eafa866fc32616459f96442c1558bc7ed (diff) |
Correct Pypi CI pipeline
Diffstat (limited to 'glances')
-rw-r--r-- | glances/compat.py | 2 | ||||
-rw-r--r-- | glances/plugins/glances_fs.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/glances/compat.py b/glances/compat.py index 30e497f7..3dcc5790 100644 --- a/glances/compat.py +++ b/glances/compat.py @@ -53,6 +53,8 @@ if PY3: bool_type = bool long = int + PermissionError = OSError + viewkeys = operator.methodcaller('keys') viewvalues = operator.methodcaller('values') viewitems = operator.methodcaller('items') diff --git a/glances/plugins/glances_fs.py b/glances/plugins/glances_fs.py index 7d43d988..d6e9d7d6 100644 --- a/glances/plugins/glances_fs.py +++ b/glances/plugins/glances_fs.py @@ -22,7 +22,7 @@ from __future__ import unicode_literals import operator -from glances.compat import u, nativestr, n +from glances.compat import u, nativestr, n, PermissionError from glances.plugins.glances_plugin import GlancesPlugin import psutil |