diff -Nru sosreport-3.5/debian/changelog sosreport-3.5/debian/changelog --- sosreport-3.5/debian/changelog 2018-01-03 17:34:15.000000000 -0500 +++ sosreport-3.5/debian/changelog 2018-01-25 16:10:40.000000000 -0500 @@ -1,3 +1,10 @@ +sosreport (3.5-1~ubuntu17.10.2) artful; urgency=medium + + * d/p/0003-fix-name-containers-is-not-defined.patch: + "containers" is an unknown variable, "insp" is the correct one. + + -- Eric Desrochers Thu, 25 Jan 2018 16:10:26 -0500 + sosreport (3.5-1~ubuntu17.10.1) artful; urgency=medium * New upstream release v3.5 (LP: #1734983) diff -Nru sosreport-3.5/debian/patches/0003-fix-name-containers-is-not-defined.patch sosreport-3.5/debian/patches/0003-fix-name-containers-is-not-defined.patch --- sosreport-3.5/debian/patches/0003-fix-name-containers-is-not-defined.patch 1969-12-31 19:00:00.000000000 -0500 +++ sosreport-3.5/debian/patches/0003-fix-name-containers-is-not-defined.patch 2018-01-25 16:10:13.000000000 -0500 @@ -0,0 +1,20 @@ +Description: [docker] fix copy&paste error in a for cycle + "containers" is an unknown variable, "insp" is the correct one + Resolves: #1148 +Author: Pavel Moravec +Origin: upstream, https://github.com/sosreport/sos/commit/68e149809d5b487d0c5800b5a1a005aaad83c7be +Bug: https://github.com/sosreport/sos/pull/1148 +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1734983 +Index: sosreport-3.5/sos/plugins/docker.py +=================================================================== +--- sosreport-3.5.orig/sos/plugins/docker.py ++++ sosreport-3.5/sos/plugins/docker.py +@@ -97,7 +97,7 @@ class Docker(Plugin): + ) + ) + if self.get_option('logs'): +- for container in containers: ++ for container in insp: + self.add_cmd_output( + "{0} logs {1}".format( + self.docker_cmd, diff -Nru sosreport-3.5/debian/patches/series sosreport-3.5/debian/patches/series --- sosreport-3.5/debian/patches/series 2017-12-05 12:04:34.000000000 -0500 +++ sosreport-3.5/debian/patches/series 2018-01-25 16:10:13.000000000 -0500 @@ -1,2 +1,3 @@ 0001-skip-py2-only-tests.patch 0002-reset-to-expected-variable-order-for-packagemanager.patch +0003-fix-name-containers-is-not-defined.patch