]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: do not use "l" for variable name 37695/head
authorKefu Chai <kchai@redhat.com>
Fri, 16 Oct 2020 10:51:04 +0000 (18:51 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 16 Oct 2020 10:56:09 +0000 (18:56 +0800)
commit710128607be36aafe7285f2cecd9126d9081f927
treee2b0cc9c0de30795a12580c6d6724b2baab26795
parentf5adeeb621936efd71cf545935882cbe32a7f078
mgr/dashboard: do not use "l" for variable name

see also https://www.flake8rules.com/rules/E741.html

also silences flake8 warnings like:

2: {tty:'./controllers/home.py:90:26: E741 ambiguous variable name 'l'':'./controllers/home.py:90:26: E741 ambiguous variable name 'l''}
2: {tty:'./controllers/logs.py:52:13: E741 ambiguous variable name 'l'':'./controllers/logs.py:52:13: E741 ambiguous variable name 'l''}
2: {tty:'./services/ganesha.py:36:40: E741 ambiguous variable name 'l'':'./services/ganesha.py:36:40: E741 ambiguous variable name 'l''}
2: 3     E741 ambiguous variable name 'l'

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/dashboard/controllers/home.py
src/pybind/mgr/dashboard/controllers/logs.py
src/pybind/mgr/dashboard/services/ganesha.py