From 8eb07ffe97cec831711b9bbd2c5bdc97a14a5b52 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Thu, 3 Aug 2017 23:38:22 +1000 Subject: minimaws: add machine feature status flags and slot card selection with live update --- scripts/minimaws/lib/lxparse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/minimaws/lib/lxparse.py') diff --git a/scripts/minimaws/lib/lxparse.py b/scripts/minimaws/lib/lxparse.py index cf194128708..aeab5c1266d 100644 --- a/scripts/minimaws/lib/lxparse.py +++ b/scripts/minimaws/lib/lxparse.py @@ -179,7 +179,7 @@ class MachineHandler(ElementHandler): else: if name == 'device_ref': self.dbcurs.add_devicereference(self.id, attrs['name']) - elif name == 'feaure': + elif name == 'feature': self.dbcurs.add_featuretype(attrs['type']) status = 0 if 'status' not in attrs else 2 if attrs['status'] == 'unemulated' else 1 overall = status if 'overall' not in attrs else 2 if attrs['overall'] == 'unemulated' else 1 -- cgit v1.2.3-70-g09d2