summaryrefslogtreecommitdiff
path: root/git/odict.py
diff options
context:
space:
mode:
authorAntoine Musso <hashar@free.fr>2014-11-16 21:09:47 +0100
committerAntoine Musso <hashar@free.fr>2014-11-16 21:09:47 +0100
commitc8e70749887370a99adeda972cc3503397b5f9a7 (patch)
tree38e1241fd6d756f783b6b56dc6628ac3ca41ed4f /git/odict.py
parentbed3b0989730cdc3f513884325f1447eb378aaee (diff)
downloadgitpython-c8e70749887370a99adeda972cc3503397b5f9a7.tar.gz
pep8 linting (trailing whitespace)
W291 trailing whitespace
Diffstat (limited to 'git/odict.py')
-rw-r--r--git/odict.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/odict.py b/git/odict.py
index 96444ca0..dbedbde7 100644
--- a/git/odict.py
+++ b/git/odict.py
@@ -491,7 +491,7 @@ class OrderedDict(dict):
def items(self):
"""
- ``items`` returns a list of tuples representing all the
+ ``items`` returns a list of tuples representing all the
``(key, value)`` pairs in the dictionary.
>>> d = OrderedDict(((1, 3), (3, 2), (2, 1)))
@@ -735,7 +735,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