We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2daacf commit a3bbb27Copy full SHA for a3bbb27
2 files changed
TODO
@@ -17,6 +17,8 @@ TODO: Make the swagger docs also work off-line
17
18
TODO: Type annotations everywhere
19
20
+TODO: Check type annotations (in check script and in VSC)
21
+
22
TODO: Test creation and deletion of PID file
23
24
TODO: Figure out how to debug the code (set breakpoint from VSC and document that)
common/utils.py
@@ -67,7 +67,10 @@ def delete_pid_file(node_type: str, node_name: str) -> None:
67
"""
68
Delete the process ID file for the node.
69
70
- os.remove(pid_file_name(node_type, node_name))
+ try:
71
+ os.remove(pid_file_name(node_type, node_name))
72
+ except FileNotFoundError:
73
+ pass
74
75
76
def pid_file_exists(node_type: str, node_name: str) -> bool:
0 commit comments