HewlettPackard / python-ilorest-library

Python library for interacting with devices which support a Redfish Service
Apache License 2.0
181 stars 89 forks source link

fix/string encode compatibility #130

Closed frederikslos closed 2 years ago

frederikslos commented 2 years ago

trivial string encoding fix for Python2 compatibility

test script:

from redfish import RedfishClient

rf = RedfishClient(base_url='https://16.1.15.1', username='Administrator', password='password')
rf.login()

test script no longer fails with TypeError: str() takes at most 1 argument (2 given)

Status

Additional High Level Description

A few sentences describing the overall goals of the pull request's commits.

Dependent PRs

List any PRs that must be merged together. (Tool dependent PRs SHOULD NOT occur.)

Before Status can be set to READY I have completed the following: