Commit 60acda0b authored by guoci's avatar guoci Committed by GitHub
Browse files

make script version agnostic

Showing with 5 additions and 2 deletions
+5 -2
......@@ -2,8 +2,11 @@
import os, sys, string
try:
from cStringIO import StringIO
except:
from StringIO import StringIO
except ImportError:
try:
from StringIO import StringIO
except ImportError:
from io import StringIO
ANY=1
COPY=2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment