diff options
| author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-01-30 13:00:26 -0500 |
|---|---|---|
| committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-03-29 15:44:10 -0400 |
| commit | aea38c650b8554e8f6293483286eba18a5547cd9 (patch) | |
| tree | 870f8e1645a20fce741e2f8572336f4a0931e2a7 /obmc/utils | |
| parent | dc63ed495112f1f7f36fd9b125d48b7fbf4b2323 (diff) | |
| download | pyphosphor-aea38c650b8554e8f6293483286eba18a5547cd9.tar.gz pyphosphor-aea38c650b8554e8f6293483286eba18a5547cd9.zip | |
Enable pycodestyle
Apply fix-ups and run pycodestyle during CI testing.
Change-Id: I1005495b11e228abdc8d40a51dbf81c4a6e6c92c
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'obmc/utils')
| -rw-r--r-- | obmc/utils/misc.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/obmc/utils/misc.py b/obmc/utils/misc.py index 12d0489..b55ef6d 100644 --- a/obmc/utils/misc.py +++ b/obmc/utils/misc.py @@ -14,6 +14,7 @@ # implied. See the License for the specific language governing # permissions and limitations under the License. + def org_dot_openbmc_match_strings(sep='.', prefix=''): matches = [ ['org', 'openbmc'], @@ -30,8 +31,8 @@ def org_dot_openbmc_match(name, sep='.', prefix=''): class ListMatch(object): - def __init__(self, l): - self.l = l + def __init__(self, lst): + self.lst = lst def __call__(self, match): return match in self.l |

