Skip to content

Commit

Permalink
version 5.2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeevkallur committed Aug 14, 2024
1 parent 29dcf22 commit 38c711d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/redfish/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
""" Redfish restful library """

__all__ = ["rest", "ris", "hpilo"]
__version__ = "5.1.0.0"
__version__ = "5.2.0.0"

import logging

Expand Down
6 changes: 4 additions & 2 deletions src/redfish/ris/rmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,10 @@ def commit(self):
payload = createdict(indices.pop(), payload)
merge_dict(totpayload, payload)
currdict = copy.deepcopy(totpayload)

if "PersistentBootConfigOrder" in currdict and type(currdict) is dict:
currdict = list(set(currdict["PersistentBootConfigOrder"]))
default_value = 0
currdict = {key: default_value for key in currdict}
if currdict:
yield instance.resp.request.path

Expand Down Expand Up @@ -962,7 +965,6 @@ def post_handler(self, put_path, body, headers=None, silent=False, service=False

if results.status == 400 and results.dict is None:
return results

if not silent and hasattr(self.typepath.defs, "messageregistrytype"):
ResponseHandler(self.validationmanager, self.typepath.defs.messageregistrytype).output_resp(
results, dl_reg=service, verbosity=self.verbose
Expand Down

0 comments on commit 38c711d

Please sign in to comment.