Rename all properties to UpperCamelCase
Upstream dbus standard is UpperCamelCase, start matching and
check in json schema to start failing builds that don't match.
Change-Id: I2d2c6fec5a5a0b07c88c843257fa7c88d420c4e5
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/scripts/CloseMuxes.py b/scripts/CloseMuxes.py
index 52d8403..abbe84b 100644
--- a/scripts/CloseMuxes.py
+++ b/scripts/CloseMuxes.py
@@ -23,10 +23,10 @@
configuration = json.load(open(CONFIGURATION_FILE))
for _, entity in configuration.iteritems():
- for exposed in entity.get('exposes', []):
- if exposed.get('type', None) in MUX_TYPES:
- bus = exposed.get('bus', False)
- address = exposed.get('address', False)
+ for exposed in entity.get('Exposes', []):
+ if exposed.get('Type', None) in MUX_TYPES:
+ bus = exposed.get('Bus', False)
+ address = exposed.get('Address', False)
if bus and address:
subprocess.call('i2cset -y -f {} {} 0'.format(bus, address),
shell=True)