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

make script version agnostic

parent 09e241fb
...@@ -2,8 +2,11 @@ ...@@ -2,8 +2,11 @@
import os, sys, string import os, sys, string
try: try:
from cStringIO import StringIO from cStringIO import StringIO
except: except ImportError:
from StringIO import StringIO try:
from StringIO import StringIO
except ImportError:
from io import StringIO
ANY=1 ANY=1
COPY=2 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