From 8bd6c8ea348e8e82222d15041530a047a7aab357 Mon Sep 17 00:00:00 2001 From: Alex Forencich <alex@alexforencich.com> Date: Sun, 7 Nov 2021 18:23:13 -0800 Subject: [PATCH] Remove some lint --- tb/baser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tb/baser.py b/tb/baser.py index e6a77358..0570ff7e 100644 --- a/tb/baser.py +++ b/tb/baser.py @@ -246,7 +246,7 @@ class BaseRSerdesSource(): if cl[0] and (dl[0] == XgmiiCtrl.SEQ_OS or dl[0] == XgmiiCtrl.SIG_OS) and not any(cl[1:4]): # ordered set in lane 0 data = BaseRBlockType.OS_START - for i in range(1,4): + for i in range(1, 4): data |= dl[i] << i*8 if dl[0] == XgmiiCtrl.SIG_OS: # signal ordered set @@ -262,7 +262,7 @@ class BaseRSerdesSource(): if cl[4] and (dl[4] == XgmiiCtrl.SEQ_OS or dl[4] == XgmiiCtrl.SIG_OS) and not any(cl[5:8]): # ordered set in lane 4 data = BaseRBlockType.OS_04 - for i in range(5,8): + for i in range(5, 8): data |= dl[i] << i*8 if dl[4] == XgmiiCtrl.SIG_OS: # signal ordered set -- GitLab