aboutsummaryrefslogtreecommitdiff
path: root/scripts/ordereddict.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ordereddict.py')
-rw-r--r--scripts/ordereddict.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/ordereddict.py b/scripts/ordereddict.py
index 7242b5060d..2d1d81370b 100644
--- a/scripts/ordereddict.py
+++ b/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