Skip to content

Commit

Permalink
version 4.6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeevkallur committed Oct 14, 2023
1 parent 2b690f6 commit d20b595
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
13 changes: 5 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
from setuptools import setup, find_packages
from setuptools import find_packages, setup

extras = {}

setup(name='python-ilorest-library',
version='4.5.0.0',
version='4.6.0.0',
description='iLO Rest Python Library',
author = 'Hewlett Packard Enterprise',
author_email = 'rajeevalochana.kallur@hpe.com',
extras_require = extras,
author='Hewlett Packard Enterprise',
author_email='rajeevalochana.kallur@hpe.com',
extras_require=extras,
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
Expand Down
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__ = "4.5.0.0"
__version__ = "4.6.0.0"

import logging

Expand Down
2 changes: 1 addition & 1 deletion src/redfish/rest/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def dict(self):
try:
return json.loads(self.read)
except ValueError as exp:
if self.path != "/smbios":
if self.path != "/smbios" and self.path != "/cgi-bin/uploadFile":
sys.stderr.write("An invalid response body was returned: %s" % exp)
return None

Expand Down
3 changes: 3 additions & 0 deletions src/redfish/ris/rmc.py
Original file line number Diff line number Diff line change
Expand Up @@ -957,6 +957,9 @@ def post_handler(self, put_path, body, headers=None, silent=False, service=False

self._modifiedpath(results)

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 d20b595

Please sign in to comment.