Skip to content
Snippets Groups Projects
Commit fc881d0d authored by David Hammer's avatar David Hammer
Browse files

Forgot that 3.6 does not support lru_cache without ()

parent 6d995115
1 merge request!12Snapshot: field test deployed version as of end of run 202201
......@@ -182,7 +182,7 @@ class SimpleAssembler(TrainMatcher.TrainMatcher):
self._buffered_status_update.set("rate", self._rate_tracker.get())
self.set(self._buffered_status_update)
@functools.lru_cache
@functools.lru_cache()
def _source_to_index(self, source):
# note: cache means warning only shows up once (also not performance-critical)
# TODO: allow user to inspect, modify the mapping
......
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