aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--markdown/odict.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/odict.py b/markdown/odict.py
index 36d5553..d545a46 100644
--- a/markdown/odict.py
+++ b/markdown/odict.py
@@ -156,7 +156,7 @@ class OrderedDict(dict):
self.keyOrder.insert(i, key)
else:
self.keyOrder.append(key)
- except Exception as e:
+ except Exception, e:
# restore to prevent data loss and reraise
self.keyOrder.insert(n, key)
raise e