Hello community, here is the log from the commit of package tuned for openSUSE:Factory checked in at 2015-01-07 09:38:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tuned (Old) and /work/SRC/openSUSE:Factory/.tuned.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "tuned" Changes: -------- --- /work/SRC/openSUSE:Factory/tuned/tuned.changes 2014-10-18 09:10:17.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.tuned.new/tuned.changes 2015-01-07 09:38:42.000000000 +0100 @@ -1,0 +2,6 @@ +Mon Jan 5 15:07:22 UTC 2015 - p.drouand@gmail.com + +- Add tuned-powertop2tuned-fix-KeyError-on-id-attribute.patch; + fix bnc#888599 + +------------------------------------------------------------------- New: ---- tuned-powertop2tuned-fix-KeyError-on-id-attribute.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tuned.spec ++++++ --- /var/tmp/diff_new_pack.ywCnRd/_old 2015-01-07 09:38:43.000000000 +0100 +++ /var/tmp/diff_new_pack.ywCnRd/_new 2015-01-07 09:38:43.000000000 +0100 @@ -31,6 +31,8 @@ Patch0: fix-allow-receive_sender-default.patch # PATCH-FIX-OPENSUSE tuned-2.4.0-use_cpupower_for_intel_perf_bias.patch --use cpupower instead of energy class Patch2: tuned-2.4.0-use_cpupower_for_intel_perf_bias.patch +# PATCH-FIX-UPSTREAM tuned-powertop2tuned-fix-KeyError-on-id-attribute.patch --use get function when define id attribute bnc#888599 +Patch3: tuned-powertop2tuned-fix-KeyError-on-id-attribute.patch BuildRequires: python BuildRequires: systemd # Do not own standard directories @@ -117,6 +119,7 @@ %setup -q %patch0 -p1 %patch2 -p1 +%patch3 -p1 %build #The tuned daemon is written in pure Python. Nothing requires to be built. ++++++ tuned-powertop2tuned-fix-KeyError-on-id-attribute.patch ++++++ --- a/experiments/powertop2tuned.py.orig 2014-10-15 09:15:23.000000000 -0400 +++ b/experiments/powertop2tuned.py 2014-12-21 01:27:40.875480511 -0500 @@ -83,7 +83,7 @@ def handle_starttag(self, tag, attrs): self.lastStartTag = tag - if self.lastStartTag == "div" and dict(attrs)["id"] == "tuning": + if self.lastStartTag == "div" and dict(attrs).get("id") == "tuning": self.inProperTable = True if self.inProperTable and tag == "td": self.tdCounter += 1 -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org