Permalink
Browse files

More rudimentary python 2.5 support

  • Loading branch information...
1 parent 8f5fb78 commit 9ea88554e44bb9305f3dd1d2a506e4fa87f2f66b Mark Costello committed Mar 22, 2013
Showing with 5 additions and 1 deletion.
  1. +5 −1 rdbtools/parser.py
View
@@ -1,6 +1,10 @@
from __future__ import with_statement
import struct
-import io
+try:
+ import io
+except ImportError:
+ import StringIO as io
+
import sys
import datetime
import re

0 comments on commit 9ea8855

Please sign in to comment.