by moving import statements in functions.
Related to T2575.
Paths
| Differential D3909 Authored by douardda on Sep 10 2020, 4:09 PM.
Details
Summary by moving import statements in functions. Related to T2575.
Diff Detail
Event TimelineHerald added a reviewer: Reviewers. · View Herald TranscriptSep 10 2020, 4:09 PM2020-09-10 16:09:04 (UTC+2) Comment Actions Build has FAILED Patch application report for D3909 (id=13768)Rebasing onto 7c5c84b595... Current branch diff-target is up to date. Changes applied before testcommit f8d9a8404572abed76bd8a1dcb7cb11a6c455d9f Author: David Douard <david.douard@sdfa3.org> Date: Wed Sep 9 18:22:50 2020 +0200 cli: speedup the `swh` cli command startup time by moving import statements in functions. Related to T2575. Link to build: https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/62/ Harbormaster failed remote builds in B14995: Diff 13768!Sep 10 2020, 4:11 PM2020-09-10 16:11:20 (UTC+2) This revision is now accepted and ready to land.Sep 10 2020, 4:41 PM2020-09-10 16:41:46 (UTC+2) Comment Actions Build is green Patch application report for D3909 (id=13789)Rebasing onto 7c5c84b595... Current branch diff-target is up to date. Changes applied before testcommit de0ab7f6f21fb26fb0e59c16eeb5117d22ada2fd Author: David Douard <david.douard@sdfa3.org> Date: Wed Sep 9 18:22:50 2020 +0200 cli: speedup the `swh` cli command startup time by moving import statements in functions. Related to T2575. See https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/63/ for more details. Harbormaster completed remote builds in B15015: Diff 13789.Sep 10 2020, 5:12 PM2020-09-10 17:12:44 (UTC+2) Closed by commit rDDEPde0ab7f6f21f: cli: speedup the `swh` cli command startup time (authored by douardda). · Explain WhySep 10 2020, 5:17 PM2020-09-10 17:17:48 (UTC+2) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 13802 swh/deposit/cli/__init__.py
swh/deposit/cli/admin.py
swh/deposit/cli/client.py
swh/deposit/tests/cli/test_client.py
|