Hello community,

here is the log from the commit of package python-nagios-http-json for 
openSUSE:Factory checked in at 2020-03-12 23:08:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nagios-http-json (Old)
 and      /work/SRC/openSUSE:Factory/.python-nagios-http-json.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-nagios-http-json"

Thu Mar 12 23:08:16 2020 rev:2 rq:784335 version:1.4+git.1584019054.4f1d29d

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-nagios-http-json/python-nagios-http-json.changes
  2020-03-11 18:54:34.931654381 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-nagios-http-json.new.3160/python-nagios-http-json.changes
        2020-03-12 23:12:35.111330530 +0100
@@ -1,0 +2,6 @@
+Thu Mar 12 13:39:35 UTC 2020 - mc...@cepl.eu
+
+- Update to version 1.4+git.1584019054.4f1d29d:
+  * Fix new Python3.8 warnings:
+
+-------------------------------------------------------------------

Old:
----
  nagios-http-json-1.4+git.1583782740.e7cf7ca.tar.xz

New:
----
  nagios-http-json-1.4+git.1584019054.4f1d29d.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-nagios-http-json.spec ++++++
--- /var/tmp/diff_new_pack.TEozHw/_old  2020-03-12 23:12:35.519330691 +0100
+++ /var/tmp/diff_new_pack.TEozHw/_new  2020-03-12 23:12:35.523330693 +0100
@@ -20,15 +20,15 @@
 %define skip_python2 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-nagios-http-json
-Version:        1.4+git.1583782740.e7cf7ca
+Version:        1.4+git.1584019054.4f1d29d
 Release:        0
 Summary:        Plugin for Nagios which checks json values from a given HTTP 
endpoint
 License:        Apache-2.0
 Group:          Development/Languages/Python
 URL:            https://github.com/drewkerrigan/nagios-http-json
 Source:         %{modname}-%{version}.tar.xz
-BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.TEozHw/_old  2020-03-12 23:12:35.563330709 +0100
+++ /var/tmp/diff_new_pack.TEozHw/_new  2020-03-12 23:12:35.567330711 +0100
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/drewkerrigan/nagios-http-json.git</param>
-              <param 
name="changesrevision">71cbd98e799f49c87cfd1e6f28fc7e63e3f9f25e</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">404890d9187b5787cdcfa23848b9b942296792f7</param></service></servicedata>
\ No newline at end of file

++++++ nagios-http-json-1.4+git.1583782740.e7cf7ca.tar.xz -> 
nagios-http-json-1.4+git.1584019054.4f1d29d.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/nagios-http-json-1.4+git.1583782740.e7cf7ca/check_http_json.py 
new/nagios-http-json-1.4+git.1584019054.4f1d29d/check_http_json.py
--- old/nagios-http-json-1.4+git.1583782740.e7cf7ca/check_http_json.py  
2020-03-09 20:39:00.000000000 +0100
+++ new/nagios-http-json-1.4+git.1584019054.4f1d29d/check_http_json.py  
2020-03-12 14:17:34.000000000 +0100
@@ -183,10 +183,10 @@
             subElemKey = key[:key.find('(*)')-1]
         remainingKey = key[key.find('(*)')+3:]
         elemData = self.get(subElemKey)
-        if elemData is (None, 'not_found'):
+        if elemData == (None, 'not_found'):
             keys.append(key)
             return keys
-        if subElemKey is not '':
+        if subElemKey != '':
             subElemKey = subElemKey + '.'
         for i in range(len(elemData)):
             newKey = subElemKey + '(' + str(i) + ')' + remainingKey


Reply via email to