summaryrefslogtreecommitdiff
path: root/portato/odict.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-10-28 23:02:35 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-10-28 23:02:35 +0100
commit667747a0a9df9e6ad21bf7849a8e0ec80e4792f6 (patch)
treed123f95feabd0c9c05a75b0429ddc50f1f78db4a /portato/odict.py
parent4ee82f29f045300268f4bbc0a100c8ed90d15c5f (diff)
downloadportato-667747a0a9df9e6ad21bf7849a8e0ec80e4792f6.tar.gz
portato-667747a0a9df9e6ad21bf7849a8e0ec80e4792f6.tar.bz2
portato-667747a0a9df9e6ad21bf7849a8e0ec80e4792f6.zip
Remove some trailing whitespaces
Diffstat (limited to '')
-rw-r--r--portato/odict.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/odict.py b/portato/odict.py
index 2c8391d..1c12ce8 100644
--- a/portato/odict.py
+++ b/portato/odict.py
@@ -731,7 +731,7 @@ class OrderedDict(dict):
if new_key in self:
raise ValueError("New key already exists: %r" % new_key)
# rename sequence entry
- value = self[old_key]
+ value = self[old_key]
old_idx = self._sequence.index(old_key)
self._sequence[old_idx] = new_key
# rename internal dict entry