No six for setup.py, try/except both options

This commit is contained in:
Ross McFarland
2019-10-14 19:10:47 -07:00
parent 4e09f8a838
commit 2f45cbc086
+4 -1
View File
@@ -1,6 +1,9 @@
#!/usr/bin/env python
from six import StringIO
try:
from io import StringIO
except ImportError:
from StringIO import StringIO
from os.path import dirname, join
import octodns