mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
[mod] some pep8 fixes.
This commit is contained in:
parent
74315b2718
commit
cda98505ba
1 changed files with 6 additions and 5 deletions
|
@ -225,6 +225,7 @@ def check_verifications_done_before_modifying_system(script):
|
|||
"Verifications (with 'ynh_die' or 'exit' commands) are done before any system modification.")
|
||||
return 0
|
||||
|
||||
|
||||
def check_non_helpers_usage(script):
|
||||
"""
|
||||
check if deprecated commands are used and propose helpers:
|
||||
|
@ -299,7 +300,7 @@ def check_arg_retrieval(script):
|
|||
if line_nbr > 30:
|
||||
exitFlag = True
|
||||
break
|
||||
if exitFlag == True:
|
||||
if exitFlag is True:
|
||||
break
|
||||
|
||||
if present:
|
||||
|
|
Loading…
Reference in a new issue