From 6e3cbe841ae50e9927a9d4d203379794da8146a3 Mon Sep 17 00:00:00 2001 From: "W. Harrison Wright" Date: Sat, 13 Jan 2018 14:12:26 -0600 Subject: [PATCH] Add comment --- bin/github-backup | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/github-backup b/bin/github-backup index d921fbe..b382e10 100755 --- a/bin/github-backup +++ b/bin/github-backup @@ -505,6 +505,8 @@ def retrieve_repositories(args): starred_template = 'https://{0}/user/starred'.format( get_github_api_host(args)) 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: item.update({'is_starred': True}) repos.extend(starred_repos)