-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed instance/class path str() back to historical format.
Details: - An earlier change in this release had changed the `__str__()` methods of `CIMInstanceName` and `CIMClassName` to return the standard DSP0207 format for WBEM URIs. Because that is an incompatible change, this change changes that back to let those methods again return the historical format they returned in pywbem 0.11. - Redesigned the interface of the `to_wbem_uri()` methods of `CIMInstanceName` and `CIMClassName` to no longer have the boolean `omit_leading_slash` parameter, but a `format` parameter that can be used to select "standard", "cimobject" or "historical" format. The `__str__()` methods use "historical" format, the creation of the `CIMObject` header field in cim_http.py uses "cimobject" format, and the default is "standard" format. Signed-off-by: Andreas Maier <maiera@de.ibm.com>
- Loading branch information
1 parent
e473307
commit 1fd836a
Showing
4 changed files
with
312 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.