aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2012-07-12 09:20:43 -0400
committerWaylan Limberg <waylan@gmail.com>2012-07-12 09:20:43 -0400
commit34cb4827da7eee2310ab285110cdadfdfbc85993 (patch)
tree05ae941e3973ecb531dee78bac6f2714f4223d83
parent5b3e724fb78da73ab87fb34e4ac9d9299773cfed (diff)
downloadmarkdown-34cb4827da7eee2310ab285110cdadfdfbc85993.tar.gz
markdown-34cb4827da7eee2310ab285110cdadfdfbc85993.tar.bz2
markdown-34cb4827da7eee2310ab285110cdadfdfbc85993.zip
Fixed 113. We still support Python 2.5 until Markdown version 2.3.
-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