# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
"""Make blobs in a git repository accessible as file like objects"""
-import StringIO
+from six import StringIO
from gbp.git.repository import GitRepositoryError
class GitVfs(object):
"""
def __init__(self, content):
self._iter = iter
- self._data = StringIO.StringIO(content)
+ self._data = StringIO(content)
def readline(self):
return self._data.readline()
# vim: set fileencoding=utf-8 :
import re
-from StringIO import StringIO
+from six import StringIO
from nose.tools import eq_, ok_ # pylint: disable=E0611
import gbp.log