Hello community,
here is the log from the commit of package python-openqa_review for
openSUSE:Factory checked in at 2017-01-29 10:38:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old)
and /work/SRC/openSUSE:Factory/.python-openqa_review.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-openqa_review"
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes
2017-01-24 10:37:58.979373572 +0100
+++
/work/SRC/openSUSE:Factory/.python-openqa_review.new/python-openqa_review.changes
2017-02-03 18:57:56.900896765 +0100
@@ -1,0 +2,5 @@
+Thu Jan 26 11:17:32 UTC 2017 - [email protected]
+
+- Correct missing package content for update to 1.4.1
+
+-------------------------------------------------------------------
Old:
----
python-openqa_review-1.4.0.tar.gz
New:
----
python-openqa_review-1.4.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-openqa_review.spec ++++++
--- /var/tmp/diff_new_pack.jAJxFj/_old 2017-02-03 18:57:57.312838911 +0100
+++ /var/tmp/diff_new_pack.jAJxFj/_new 2017-02-03 18:57:57.316838349 +0100
@@ -18,7 +18,7 @@
%define short_name openqa_review
Name: python-%{short_name}
-Version: 1.4.0
+Version: 1.4.1
Release: 0
Summary: A review helper script for openQA
License: MIT
++++++ python-openqa_review-1.4.0.tar.gz -> python-openqa_review-1.4.1.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/openqa_review-1.4.0/openqa_review/openqa_review.py
new/openqa_review-1.4.1/openqa_review/openqa_review.py
--- old/openqa_review-1.4.0/openqa_review/openqa_review.py 2017-01-20
13:06:58.000000000 +0100
+++ new/openqa_review-1.4.1/openqa_review/openqa_review.py 2017-01-20
14:23:49.000000000 +0100
@@ -370,7 +370,9 @@
threshold = float(running_threshold) if running_threshold is not None else 0
# filter out empty builds
- builds = {build: result for build, result in iteritems(builds) if
result['total'] != 0 and result['total'] > result['skipped']}
+ def non_empty(r):
+ return r['total'] != 0 and r['total'] > r['skipped'] and not ('build'
in r.keys() and r['build'] is None)
+ builds = {build: result for build, result in iteritems(builds) if
non_empty(result)}
finished = {build: result for build, result in iteritems(builds) if not
result['unfinished'] or
(100 * float(result['unfinished']) / result['total']) <=
threshold}