@@ -303,12 +303,12 @@ def get_auth(args, encode=True):
303303 if platform .system () != 'Darwin' :
304304 log_error ("Keychain arguments are only supported on Mac OSX" )
305305 try :
306- with open (os .devnull ,'w' ) as devnull :
306+ with open (os .devnull , 'w' ) as devnull :
307307 token = (subprocess .check_output ([
308- 'security' ,'find-generic-password' ,
309- '-s' ,args .osx_keychain_item_name ,
310- '-a' ,args .osx_keychain_item_account ,
311- '-w' ], stderr = devnull ).strip ())
308+ 'security' , 'find-generic-password' ,
309+ '-s' , args .osx_keychain_item_name ,
310+ '-a' , args .osx_keychain_item_account ,
311+ '-w' ], stderr = devnull ).strip ())
312312 auth = token + ':' + 'x-oauth-basic'
313313 except :
314314 log_error ('No password item matching the provided name and account could be found in the osx keychain.' )
@@ -932,19 +932,19 @@ def backup_account(args, output_directory):
932932 output_file = "{0}/followers.json" .format (account_cwd )
933933 template = "https://{0}/users/{1}/followers" .format (get_github_api_host (args ), args .user )
934934 _backup_data (args ,
935- "followers" ,
936- template ,
937- output_file ,
938- account_cwd )
935+ "followers" ,
936+ template ,
937+ output_file ,
938+ account_cwd )
939939
940940 if args .include_following or args .include_everything :
941941 output_file = "{0}/following.json" .format (account_cwd )
942942 template = "https://{0}/users/{1}/following" .format (get_github_api_host (args ), args .user )
943943 _backup_data (args ,
944- "following" ,
945- template ,
946- output_file ,
947- account_cwd )
944+ "following" ,
945+ template ,
946+ output_file ,
947+ account_cwd )
948948
949949
950950def _backup_data (args , name , template , output_file , output_directory ):
0 commit comments