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

Commit 2e76edba authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 7172656 from 8a158049 to sc-release

Change-Id: I359af186346ecc570e598a49cf917d9bf6732169
parents 2c2599f2 8a158049
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -121,12 +121,12 @@ python_binary_host {

    version: {
        py2: {
            enabled: true,
            embedded_launcher: true,
        },
        py3: {
            enabled: false,
            embedded_launcher: false,
        },
        py3: {
            enabled: true,
            embedded_launcher: true,
        },
    },
}
+3 −3
Original line number Diff line number Diff line
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (C) 2018 The Android Open Source Project
#
@@ -115,13 +115,13 @@ def main(argv):
    content = input_care_map.read()

  if args.parse_proto:
    result = ParseProtoMessage(content, args.fingerprint_enabled)
    result = ParseProtoMessage(content, args.fingerprint_enabled).encode()
  else:
    care_map_proto = GenerateCareMapProtoFromLegacyFormat(
        content.rstrip().splitlines(), args.fingerprint_enabled)
    result = care_map_proto.SerializeToString()

  with open(args.output_file, 'w') as output:
  with open(args.output_file, 'wb') as output:
    output.write(result)