try stderr?
This commit is contained in:
parent
8bc37f7ae5
commit
bd7b85170e
1 changed files with 9 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue