Skip to content
Snippets Groups Projects
Commit 100984db authored by Geels, Brendan Ryan's avatar Geels, Brendan Ryan :tophat:
Browse files

Remove test code

parent efb54981
No related tags found
No related merge requests found
Pipeline #508251 failed
......@@ -279,6 +279,7 @@ def write_state_file(filename, data, directory=None, encoder=None):
print(
f"The fcntl module is not supported in Windows. Reading/writing state files will not work: {e}"
)
pass
except IOError as e:
print(f"Error locking or writing to file: {e}")
raise
......@@ -290,9 +291,6 @@ def write_state_file(filename, data, directory=None, encoder=None):
raise
write_state_file("testjunkfile", "dataaaaa", "/home/bgeels/")
def read_state_file(filename, directory=None, decoder=None):
"""
Reads data from a state file in a thread-safe manner.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment