[go: up one dir, main page]

Do not crash if file_path.get_recursive_size(...) returns None.

It returns None if there were some unexpected errors calculating
directory size.

R=chanli@chromium.org

Change-Id: Iad79ddd1427b0814c5b8d9b8e31abbfd6154d209
Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-py/+/6886298
Reviewed-by: Chan Li <chanli@chromium.org>
Commit-Queue: Vadim Shtayura <vadimsh@chromium.org>
NOKEYCHECK=True
GitOrigin-RevId: 06d929c3032e134f7820e0339994ea1e7117a1e3
2 files changed
tree: 89abcddf888a5edffb53eb81012a298383f8bc34
  1. libs/
  2. tests/
  3. third_party/
  4. utils/
  5. .gitignore
  6. auth.py
  7. cipd.py
  8. errors.py
  9. LICENSE
  10. local_caching.py
  11. LUCI_CONTEXT.md
  12. OWNERS
  13. PRESUBMIT.py
  14. README.md
  15. README.py
  16. run_isolated.py
  17. swarming.py
  18. test.py
  19. unittest.cfg
  20. 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.

To contribute changes you need to clone the main python repo and then use git cl upload. The client-py repo mirror (which appears in Chromium's third_party directory) cannot be contributed to directly.

License

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