Skip to content

Commit 83128e9

Browse files
committed
Formatting
1 parent 17e4f9a commit 83128e9

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

bin/github-backup

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -517,26 +517,23 @@ def retrieve_repositories(args):
517517
repos = retrieve_data(args, template, single_request=single_request)
518518

519519
if args.all_starred:
520-
starred_template = 'https://{0}/user/starred'.format(
521-
get_github_api_host(args))
520+
starred_template = 'https://{0}/user/starred'.format(get_github_api_host(args))
522521
starred_repos = retrieve_data(args, starred_template, single_request=False)
523522
# flag each repo as starred for downstream processing
524523
for item in starred_repos:
525524
item.update({'is_starred': True})
526525
repos.extend(starred_repos)
527526

528527
if args.include_gists:
529-
gists_template = 'https://{0}/gists'.format(
530-
get_github_api_host(args))
528+
gists_template = 'https://{0}/gists'.format(get_github_api_host(args))
531529
gists = retrieve_data(args, gists_template, single_request=False)
532530
# flag each repo as a gist for downstream processing
533531
for item in gists:
534532
item.update({'is_gist': True})
535533
repos.extend(gists)
536534

537535
if args.include_starred_gists:
538-
starred_gists_template = 'https://{0}/gists/starred'.format(
539-
get_github_api_host(args))
536+
starred_gists_template = 'https://{0}/gists/starred'.format(get_github_api_host(args))
540537
starred_gists = retrieve_data(args, starred_gists_template, single_request=False)
541538
# flag each repo as a starred gist for downstream processing
542539
for item in starred_gists:

0 commit comments

Comments
 (0)