We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8e448a commit cc9e013Copy full SHA for cc9e013
lib/spack/llnl/util/filesystem.py
@@ -1472,7 +1472,7 @@ def set_executable(path):
1472
def recursive_mtime_greater_than(path: str, time: float) -> bool:
1473
"""Returns true if any file or dir recursively under `path` has mtime greater than `time`."""
1474
# use bfs order to increase likelihood of early return
1475
- queue: Deque[str] = collections.deque(path)
+ queue: Deque[str] = collections.deque([path])
1476
1477
if os.stat(path).st_mtime > time:
1478
return True
0 commit comments