Merge ~cjwatson/lazr.restful:deprecate-safe-hasattr into lazr.restful:main
Proposed by
Colin Watson
Status: | Merged |
---|---|
Merged at revision: | 56d6794c1fc692856b53291b28a00bd43d78b872 |
Proposed branch: | ~cjwatson/lazr.restful:deprecate-safe-hasattr |
Merge into: | lazr.restful:main |
Diff against target: |
115 lines (+26/-13) 4 files modified
NEWS.rst (+2/-0) src/lazr/restful/docs/utils.rst (+12/-9) src/lazr/restful/marshallers.py (+1/-2) src/lazr/restful/utils.py (+11/-2) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Guruprasad | Approve | ||
Review via email: mp+413874@code.launchpad.net |
Commit message
Deprecate safe_hasattr
Description of the change
It's no longer needed now that `hasattr` only catches `AttributeError`. See https:/
To post a comment you must log in.
These changes are straightforward and look good to me. 👍