summaryrefslogtreecommitdiff
path: root/gitlab/cli.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2018-05-30 20:22:05 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2018-05-30 20:24:57 +0200
commitf2223e2397aebd1a805bae25b0d6a5fc58519d5d (patch)
tree2744fec64e87c93defb79fe8ffdc70895e9fb47f /gitlab/cli.py
parentf8e6b13a2ed8d022ef206de809546dcc0318cd08 (diff)
downloadgitlab-f2223e2397aebd1a805bae25b0d6a5fc58519d5d.tar.gz
time_stats(): use an existing attribute if available
A time_stats attribute is returned by GitLab when fetching issues and merge requests (on reasonably recent GitLab versions). Use this info instead of making a new API call if possible. Fixes #510
Diffstat (limited to 'gitlab/cli.py')
0 files changed, 0 insertions, 0 deletions