mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 19:28:00 +00:00
check_argparse: Remove invalid comparisons
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -29,7 +29,7 @@ def main():
|
||||
text = open(os.path.join(args.path, file)).read()
|
||||
results_file = dict()
|
||||
results_file['argparse'] = 'argparse.' in text
|
||||
if results_file['argparse'] is True:
|
||||
if results_file['argparse']:
|
||||
results_file['create_basic'] = 'create_basic_argparse' in text
|
||||
results_file['create_bare'] = 'create_bare_argparse' in text
|
||||
results_file['prog'] = 'prog=' in text
|
||||
|
||||
Reference in New Issue
Block a user