try stderr?

This commit is contained in:
foamyguy 2024-04-08 10:17:27 -05:00
parent 8bc37f7ae5
commit bd7b85170e

View file

@ -108,16 +108,16 @@ def ensure_latest_bundle(bundle):
for platform in PLATFORMS:
# missing directories (new platform added on an existing install
# or side effect of pytest or network errors)
# print(
# f"checking dir: {bundle.lib_dir(platform)} = "
# f"{os.path.isdir(bundle.lib_dir(platform))}"
# )
warnings.warn(
UserWarning(
f"checking dir: {bundle.lib_dir(platform)} = "
f"{os.path.isdir(bundle.lib_dir(platform))}"
)
print(
f"checking dir: {bundle.lib_dir(platform)} = "
f"{os.path.isdir(bundle.lib_dir(platform))}", file=sys.stderr
)
# warnings.warn(
# UserWarning(
# f"checking dir: {bundle.lib_dir(platform)} = "
# f"{os.path.isdir(bundle.lib_dir(platform))}"
# )
# )
do_update = do_update or not os.path.isdir(bundle.lib_dir(platform))
else:
do_update = True