Fix errors reported by pylint. (#23282)

* Fix pylint misplaced-bare-raise errors.
* Fix pylint return-in-init error.
* Fix pylint bad-format-character error.
* Fix pylint too-many-format-args errors.
* Fix pylint too-few-format-args errors.
* Fix pylint truncated-format-string error.
This commit is contained in:
Matt Clay 2017-04-06 16:58:16 -07:00 committed by GitHub
commit 48eeab8a53
15 changed files with 17 additions and 25 deletions

View file

@ -38,7 +38,7 @@ class Become:
_become_flags = FieldAttribute(isa='string')
def __init__(self):
return super(Become, self).__init__()
super(Become, self).__init__()
def _detect_privilege_escalation_conflict(self, ds):