Skip to content
This repository has been archived by the owner on Nov 17, 2024. It is now read-only.

Commit

Permalink
fixup! releasetools: support reading release keys out of some sort of…
Browse files Browse the repository at this point in the history
… command

subprocess no longer outputs strings thus we got to use decode('utf-8')

Change-Id: Ia8ead82cf6b2beded4c53a078126512f44e50cf2
  • Loading branch information
luk1337 authored and jhenrique09 committed Jun 21, 2023
1 parent 6f8e878 commit d9cb234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/releasetools/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -2694,7 +2694,7 @@ def GetPasswords(self, items):
ps = subprocess.Popen(self.secure_storage_cmd, shell=True, stdout=subprocess.PIPE)
output = ps.communicate()[0]
if ps.returncode == 0:
current[i] = output
current[i] = output.decode('utf-8')
except Exception as e:
print(e)
pass
Expand Down

0 comments on commit d9cb234

Please sign in to comment.