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

Commit 620bbb9f authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Convert auto_gen_test_config.py to python 3" am: 632ab515 am: ff9d0533

parents 3d7e2c03 ff9d0533
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (C) 2017 The Android Open Source Project
#
@@ -69,7 +69,7 @@ def main(argv):
  module = os.path.splitext(os.path.basename(target_config))[0]
  instrumentation = instrumentation_elements[0]
  manifest = manifest_elements[0]
  if instrumentation.attributes.has_key(ATTRIBUTE_LABEL):
  if ATTRIBUTE_LABEL in instrumentation.attributes:
    label = instrumentation.attributes[ATTRIBUTE_LABEL].value
  else:
    label = module