mkbundle: add support for python3, fixes #2444
This commit is contained in:
parent
679989e91f
commit
5a07ff166a
1 changed files with 5 additions and 1 deletions
|
@ -4,7 +4,11 @@
|
|||
#
|
||||
|
||||
import os, sys, re
|
||||
import gzip, cStringIO
|
||||
import gzip
|
||||
try:
|
||||
from io import StringIO
|
||||
except ImportError:
|
||||
from cStringIO import StringIO
|
||||
from optparse import OptionParser
|
||||
|
||||
# Add reverse path split
|
||||
|
|
Loading…
Add table
Reference in a new issue