mirror of
https://github.com/josegonzalez/python-github-backup.git
synced 2025-12-05 16:18:02 +01:00
Add comment
This commit is contained in:
@@ -505,6 +505,8 @@ def retrieve_repositories(args):
|
|||||||
starred_template = 'https://{0}/user/starred'.format(
|
starred_template = 'https://{0}/user/starred'.format(
|
||||||
get_github_api_host(args))
|
get_github_api_host(args))
|
||||||
starred_repos = retrieve_data(args, starred_template, single_request=False)
|
starred_repos = retrieve_data(args, starred_template, single_request=False)
|
||||||
|
# we need to be able to determine this repo was retrieved as a starred repo
|
||||||
|
# later, so add a flag to each item
|
||||||
for item in starred_repos:
|
for item in starred_repos:
|
||||||
item.update({'is_starred': True})
|
item.update({'is_starred': True})
|
||||||
repos.extend(starred_repos)
|
repos.extend(starred_repos)
|
||||||
|
|||||||
Reference in New Issue
Block a user