mirror of
https://github.com/josegonzalez/python-github-backup.git
synced 2025-12-05 16:18:02 +01:00
Add additional output for the current request
This is useful to have some progress indication for huge repositories.
This commit is contained in:
@@ -431,6 +431,7 @@ def _construct_request(per_page, page, query_args, template, auth):
|
||||
request = Request(template + '?' + querystring)
|
||||
if auth is not None:
|
||||
request.add_header('Authorization', 'Basic '.encode('ascii') + auth)
|
||||
log_info('Requesting {}?{}'.format(template, querystring))
|
||||
return request
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user