diff options
author | Waylan Limberg <waylan@gmail.com> | 2012-07-12 09:20:43 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2012-07-12 09:20:43 -0400 |
commit | 34cb4827da7eee2310ab285110cdadfdfbc85993 (patch) | |
tree | 05ae941e3973ecb531dee78bac6f2714f4223d83 | |
parent | 5b3e724fb78da73ab87fb34e4ac9d9299773cfed (diff) | |
download | markdown-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.py | 2 |
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 |