Hello community,

here is the log from the commit of package redfishtool for openSUSE:Factory 
checked in at 2020-04-11 23:46:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/redfishtool (Old)
 and      /work/SRC/openSUSE:Factory/.redfishtool.new.3248 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "redfishtool"

Sat Apr 11 23:46:50 2020 rev:2 rq:793011 version:1.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/redfishtool/redfishtool.changes  2020-02-05 
19:43:41.231324419 +0100
+++ /work/SRC/openSUSE:Factory/.redfishtool.new.3248/redfishtool.changes        
2020-04-11 23:47:09.731117335 +0200
@@ -1,0 +2,7 @@
+Fri Apr 10 17:16:29 UTC 2020 - Martin Hauke <mar...@gmx.de>
+
+- Update to version 1.1.2
+  * Made fix to collection listing to show members when optional
+    properties are not present
+
+-------------------------------------------------------------------

Old:
----
  redfishtool-1.1.1.tar.gz

New:
----
  redfishtool-1.1.2.tar.gz

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

Other differences:
------------------
++++++ redfishtool.spec ++++++
--- /var/tmp/diff_new_pack.UHeVa5/_old  2020-04-11 23:47:10.359117814 +0200
+++ /var/tmp/diff_new_pack.UHeVa5/_new  2020-04-11 23:47:10.359117814 +0200
@@ -1,6 +1,7 @@
 #
 # spec file for package redfishtool
 #
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2020, Martin Hauke <mar...@gmx.de>
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,7 +18,7 @@
 
 
 Name:           redfishtool
-Version:        1.1.1
+Version:        1.1.2
 Release:        0
 Summary:        A CLI tool for accessing the Redfish API
 License:        BSD-3-Clause

++++++ redfishtool-1.1.1.tar.gz -> redfishtool-1.1.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Redfishtool-1.1.1/CHANGELOG.md 
new/Redfishtool-1.1.2/CHANGELOG.md
--- old/Redfishtool-1.1.1/CHANGELOG.md  2020-01-10 15:12:17.000000000 +0100
+++ new/Redfishtool-1.1.2/CHANGELOG.md  2020-04-10 19:12:11.000000000 +0200
@@ -1,5 +1,8 @@
 # Change Log
 
+## [1.1.2] - 2020-04-10
+- Made fix to collection listing to show members when optional properties are 
not present
+
 ## [1.1.1] - 2020-01-10
 - Made fixes to properly format IPv6 URLs
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Redfishtool-1.1.1/redfishtool/redfishtoolTransport.py 
new/Redfishtool-1.1.2/redfishtool/redfishtoolTransport.py
--- old/Redfishtool-1.1.1/redfishtool/redfishtoolTransport.py   2020-01-10 
15:12:17.000000000 +0100
+++ new/Redfishtool-1.1.2/redfishtool/redfishtoolTransport.py   2020-04-10 
19:12:11.000000000 +0200
@@ -58,8 +58,8 @@
     def __init__(self):
         # constant parameters-- these dont change and are not updated
         self.program="redfishtool"              # program name (in case we 
want to change it)
-        self.version="1.1.1"                    # this redfishtool version
-        self.releaseDate="01/10/2020"           # release date for this 
version of redfishtool
+        self.version="1.1.2"                    # this redfishtool version
+        self.releaseDate="04/10/2020"           # release date for this 
version of redfishtool
         self.downloadFrom="https://github.com/DMTF/Redfishtool"; # where to 
find redfishtool
         self.magic="12345"                      # used for debug to test for a 
known parameter in this object
         self.UNAUTHENTICATED_API=1              # unauthenticated API that 
doesn't send credentials in body data
@@ -1045,11 +1045,10 @@
                     # create a member dict. Always include  Id and path
                     listMember={"Id": d["Id"], "@odata.id": d["@odata.id"] }
                     # if a property was specified to include, add it to the 
list dict
-                    if( prop is not None ):
+                    if( prop in d ):
                         listMember[prop]=propVal           
-                    # add the member to the listd
-                    if (prop is None) or (propVal is not None):
-                        members.append(listMember)
+                    # add the member to the list
+                    members.append(listMember)
 
         #create base list dictionary
         collPath=urlparse(baseUrl).path
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Redfishtool-1.1.1/setup.py 
new/Redfishtool-1.1.2/setup.py
--- old/Redfishtool-1.1.1/setup.py      2020-01-10 15:12:17.000000000 +0100
+++ new/Redfishtool-1.1.2/setup.py      2020-04-10 19:12:11.000000000 +0200
@@ -6,7 +6,7 @@
     long_description = f.read()
 
 setup(name='redfishtool',
-      version='1.1.1',
+      version='1.1.2',
       description='Redfishtool package and command-line client',
       long_description=long_description,
       long_description_content_type='text/markdown',


Reply via email to