Репозитории ALT
S: | 0.7.4-alt1 |
5.1: | 0.6.6-alt1.1 |
4.1: | 0.6.6-alt1.1.M41.1 |
4.0: | 0.6.4-alt1 |
3.0: | 0.5.8-alt1 |
Другие репозитории
Upstream: | 0.6.7 |
Группа :: Мониторинг
Пакет: dstat
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: use-collections.abc-instead-of-collections.patch
Скачать
Скачать
--- dstat-0.7.4.orig/dstat 2019-01-17 02:22:32.000000000 +0100
+++ dstat-0.7.4/dstat 2019-06-12 17:44:40.067840479 +0200
@@ -19,7 +19,7 @@
from __future__ import absolute_import, division, generators, print_function
__metaclass__ = type
-import collections
+import collections.abc
import fnmatch
import getopt
import getpass
@@ -512,7 +512,7 @@ class dstat:
scale = self.scales[i]
else:
scale = self.scale
- if isinstance(self.val[name], collections.Sequence) and not isinstance(self.val[name], six.string_types):
+ if isinstance(self.val[name], collections.abc.Sequence) and not isinstance(self.val[name], six.string_types):
line = line + cprintlist(self.val[name], ctype, self.width, scale)
sep = theme['frame'] + char['colon']
if i + 1 != len(self.vars):