This commit is contained in:
Gregory 2023-04-04 21:34:07 -07:00
parent adf5a46313
commit e3da8956c8

View File

@ -688,12 +688,12 @@ def regenerate(self, concretized_root_specs, force=False):
return
print(new_root)
print(
[
(s, os.stat(os.path.join(os.path.dirname(new_root), s)).st_mtime)
for s in os.listdir(os.path.dirname(new_root))
]
)
# print(
# [
# (s, os.stat(os.path.join(os.path.dirname(new_root), s)).st_mtime)
# for s in os.listdir(os.path.dirname(new_root))
# ]
# )
print(specs)
if update_method == "exchange" and os.path.isdir(new_root):
# If new_root is the newest thing in its directory, no need to update