summaryrefslogtreecommitdiffstats
path: root/qemu/scripts/ordereddict.py
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/scripts/ordereddict.py')
-rw-r--r--qemu/scripts/ordereddict.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/qemu/scripts/ordereddict.py b/qemu/scripts/ordereddict.py
index 7242b5060..2d1d81370 100644
--- a/qemu/scripts/ordereddict.py
+++ b/qemu/scripts/ordereddict.py
@@ -22,6 +22,7 @@
from UserDict import DictMixin
+
class OrderedDict(dict, DictMixin):
def __init__(self, *args, **kwds):
@@ -117,7 +118,7 @@ class OrderedDict(dict, DictMixin):
if isinstance(other, OrderedDict):
if len(self) != len(other):
return False
- for p, q in zip(self.items(), other.items()):
+ for p, q in zip(self.items(), other.items()):
if p != q:
return False
return True