more coverage

This commit is contained in:
Jason Ertel
2023-11-08 18:42:06 -05:00
parent 84b815c2ef
commit bc044fa2d5
3 changed files with 18 additions and 5 deletions

View File

@@ -85,10 +85,8 @@ def main():
cmd = commands.get(args[0], showUsage)
code = cmd(args[1:])
finally:
try:
if os.path.exists(lockFile):
os.remove(lockFile)
except Exception:
print("Lock file (" + lockFile + ") already removed")
sys.exit(code)