Whamcloud - gitweb
LU-15515 contrib: Some style fixes for epython scripts 07/50607/4
authorOleg Drokin <green@whamcloud.com>
Tue, 11 Apr 2023 21:10:24 +0000 (17:10 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 26 Apr 2023 06:28:39 +0000 (06:28 +0000)
commit0ab322a7f3a434997051912cec6c77253af5f351
tree0c2c53c1f73cc40bfd56b9bd05566b9907e5f6e9
parentfe937bae7e5c4e1fb3d68af66787405140bb11ca
LU-15515 contrib: Some style fixes for epython scripts

tighten formatting, remove spurious if() constructs,
add int conversion for shifts

Test-Parameters: trivial
Change-Id: Id89bc8ca898d0d5870ca6955b185571060eafd58
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50607
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Nathaniel Clark <nclark@whamcloud.com>
Reviewed-by: Feng Lei <flei@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
contrib/debug_tools/epython_scripts/crashlib/addrlib.py
contrib/debug_tools/epython_scripts/ldlm_dumplocks.py
contrib/debug_tools/epython_scripts/obd_devs.py