uncommitted - dstat
Ready changes
Summary
Import uploads missing from VCS:Diff
diff --git a/debian/changelog b/debian/changelog
index d5d7a5c..676dc77 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+dstat (0.7.4-6.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Apply patch to fix SyntaxWarnings from python3.9. (Closes: #976678)
+ Thanks: Cam Hutchison, Andres Salomon
+
+ -- Chris Hofstaedtler <zeha@debian.org> Wed, 07 Apr 2021 20:31:28 +0000
+
dstat (0.7.4-6) unstable; urgency=medium
* debian/patches/make-test-no-plugins: there is a misterious failure to test
diff --git a/debian/patches/python3 b/debian/patches/python3
index 9393aec..da3457a 100644
--- a/debian/patches/python3
+++ b/debian/patches/python3
@@ -3,13 +3,39 @@ Author: Emanuele Rocca <ema@debian.org>
Bug-Debian: https://bugs.debian.org/857973
Last-Update: 2019-07-29
-diff --git a/dstat b/dstat
-index 9359965..f250f06 100755
---- a/dstat
-+++ b/dstat
+Index: dstat/dstat
+===================================================================
+--- dstat.orig/dstat
++++ dstat/dstat
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
### This program is free software; you can redistribute it and/or
### modify it under the terms of the GNU General Public License
+Index: dstat/plugins/dstat_mysql_keys.py
+===================================================================
+--- dstat.orig/plugins/dstat_mysql_keys.py
++++ dstat/plugins/dstat_mysql_keys.py
+@@ -38,7 +38,7 @@ class dstat_plugin(dstat):
+ for name in self.vars: self.val[name] = -1
+
+ except Exception as e:
+- if op.debug > 1: print('%s: exception' (self.filename, e))
++ if op.debug > 1: print('%s: exception: %s' % (self.filename, e))
+ for name in self.vars: self.val[name] = -1
+
+ # vim:ts=4:sw=4:et
+Index: dstat/plugins/dstat_squid.py
+===================================================================
+--- dstat.orig/plugins/dstat_squid.py
++++ dstat/plugins/dstat_squid.py
+@@ -45,7 +45,7 @@ class dstat_plugin(dstat):
+ if op.debug > 1: print('%s: lost pipe to squidclient, %s' % (self.filename, e))
+ for name in self.vars: self.val[name] = -1
+ except Exception as e:
+- if op.debug > 1: print('%s: exception' (self.filename, e))
++ if op.debug > 1: print('%s: exception: %s' % (self.filename, e))
+ for name in self.vars: self.val[name] = -1
+
+ # vim:ts=4:sw=4:et
Debdiff
File lists identical (after any substitutions)
No differences were encountered in the control files