File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -361,19 +361,19 @@ def check_test_data_caches(self) -> Self:
361
361
# This is a cache that was built by contentctl. We can use this to
362
362
# determine if the cache is out of date.
363
363
with open (build_date_file , "r" ) as f :
364
- build_date = f" \n **Cache Build Date: { f .read ().strip ()} "
364
+ build_date = f .read ().strip ()
365
365
else :
366
- build_date = ""
366
+ build_date = "<UNKNOWN_DATE> "
367
367
if git_hash_file .is_file ():
368
368
# This is a cache that was built by contentctl. We can use this to
369
369
# determine if the cache is out of date.
370
370
with open (git_hash_file , "r" ) as f :
371
- git_hash = f" \n **Repo Git Hash : { f .read ().strip ()} "
371
+ git_hash = f .read ().strip ()
372
372
else :
373
- git_hash = ""
373
+ git_hash = "<UNKNOWN_HASH> "
374
374
375
375
print (
376
- f"Found attack data cache at [{ cache_path } ]{ build_date } { git_hash } \n "
376
+ f"Found attack data cache at [{ cache_path } ]\n **Cache Build Date: { build_date } \n **Repo Git Hash : { git_hash } \n "
377
377
)
378
378
379
379
return self
You can’t perform that action at this time.
0 commit comments