copy list so we don't obfuscate api key in original list

This commit is contained in:
Alan Hamlett 2015-04-02 15:04:05 -07:00
parent fc8c61fa3f
commit 4395db2b2d

View file

@ -124,7 +124,8 @@ def python_binary():
return None return None
def obfuscate_apikey(cmd): def obfuscate_apikey(command_list):
cmd = list(command_list)
apikey_index = None apikey_index = None
for num in range(len(cmd)): for num in range(len(cmd)):
if cmd[num] == '--key': if cmd[num] == '--key':