Commit 4300a195 authored by Hisham Muhammad's avatar Hisham Muhammad Committed by GitHub
Browse files

Merge pull request #659 from guoci/patch-1

make script version agnostic
parents 09e241fb 60acda0b
...@@ -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:
try:
from StringIO import StringIO 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