Delay logging about missing certifi until it is really needed.

Logging during module import time is not cool, it causes logger to auto
configure itself with some (wrong) defaults.

It eventually triggers assert in logging_utilities.prepare_logging (that gets
confused because the logger is already configured).

R=maruel@chromium.org, iannucci@chromium.org, aludwin@google.com
BUG=

Review-Url: https://codereview.chromium.org/2976073002
Cr-Mirrored-From: https://github.com/luci/luci-py
Cr-Mirrored-Commit: b0cc1ee633f836e6e7a358b5fc5ce7fdd758040b
1 file changed
tree: 25296d98bdb424796d5143962a432b2d641e8cec
  1. example/
  2. libs/
  3. proto/
  4. tests/
  5. third_party/
  6. tools/
  7. utils/
  8. .gitignore
  9. artool
  10. auth.py
  11. cipd.py
  12. isolate.py
  13. isolate_format.py
  14. isolate_storage.py
  15. isolated_format.py
  16. isolateserver.py
  17. LICENSE
  18. LUCI_CONTEXT.md
  19. named_cache.py
  20. OWNERS
  21. PRESUBMIT.py
  22. README.md
  23. README.py
  24. run_isolated.py
  25. swarming.py
  26. trace_inputs.py
  27. WATCHLISTS
README.md

LUCI Python Client

This is the Python Client code for LUCI. It's part of the main python repo, and is also mirrored into a standalone client-py repo.

License

This project is licensed under Apache v2.0 license. See LICENSE for details.