aboutsummaryrefslogtreecommitdiffstats
path: root/markdown/odict.py
diff options
context:
space:
mode:
Diffstat (limited to 'markdown/odict.py')
-rw-r--r--markdown/odict.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/odict.py b/markdown/odict.py
index d77d701..02864bf 100644
--- a/markdown/odict.py
+++ b/markdown/odict.py
@@ -119,7 +119,7 @@ class OrderedDict(dict):
""" Return the index of a given key. """
try:
return self.keyOrder.index(key)
- except ValueError, e:
+ except ValueError:
raise ValueError("Element '%s' was not found in OrderedDict" % key)
def index_for_location(self, location):