mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Fix warning_count not defined
This commit is contained in:
parent
0b0b40008d
commit
e7bf7580c1
1 changed files with 1 additions and 1 deletions
|
@ -941,7 +941,7 @@ def main():
|
||||||
elif len(warnings) > 3:
|
elif len(warnings) > 3:
|
||||||
print("Still some warnings to be fixed :s")
|
print("Still some warnings to be fixed :s")
|
||||||
elif len(warnings) > 0:
|
elif len(warnings) > 0:
|
||||||
print("Only %s warning remaining! You can do it!" % warning_count)
|
print("Only %s warning remaining! You can do it!" % len(warnings))
|
||||||
else:
|
else:
|
||||||
print_happy("Not even a warning! Congratz and thank you for keeping that package up to date with good practices !")
|
print_happy("Not even a warning! Congratz and thank you for keeping that package up to date with good practices !")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue