Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 779c960d authored by Virajitha Daibala's avatar Virajitha Daibala Committed by Håkan Kvist
Browse files

Remove unnecessary calling of PayloadGenerator

PayloadGenerator object is created twice, introduced in:
1f93ce20

Remove this extra call.

Test: atest --host releasetools_test
Change-Id: I7701542f7f53c9295a44fc23f634d863ab4cfc52
parent 88b268f4
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -243,8 +243,6 @@ def main(argv):
  # Get signing keys
  key_passwords = common.GetKeyPasswords([args.package_key])

  generator = PayloadGenerator()

  apex_info_bytes = ApexInfo(file_paths)

  with tempfile.NamedTemporaryFile() as unsigned_payload: