Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to qemu-2.6.
[kvmfornfv.git]
/
qemu
/
scripts
/
ordereddict.py
diff --git
a/qemu/scripts/ordereddict.py
b/qemu/scripts/ordereddict.py
index
7242b50
..
2d1d813
100644
(file)
--- a/
qemu/scripts/ordereddict.py
+++ b/
qemu/scripts/ordereddict.py
@@
-22,6
+22,7
@@
from UserDict import DictMixin
from UserDict import DictMixin
+
class OrderedDict(dict, DictMixin):
def __init__(self, *args, **kwds):
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
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
if p != q:
return False
return True