Mercurial > python-hglib
comparison hglib/util.py @ 148:c1b966866ed7
hglib: make all imports absolute (issue4520)
author | Brett Cannon <brett@python.org> |
---|---|
date | Fri, 13 Mar 2015 14:46:13 -0400 |
parents | 8d7bf729a4db |
children | 958307b30af3 |
comparison
equal
deleted
inserted
replaced
147:98829bf71f10 | 148:c1b966866ed7 |
---|---|
1 import itertools, error, os, subprocess, sys | 1 import itertools, os, subprocess, sys |
2 from hglib import error | |
2 try: | 3 try: |
3 from io import BytesIO | 4 from io import BytesIO |
4 except ImportError: | 5 except ImportError: |
5 from cStringIO import StringIO as BytesIO | 6 from cStringIO import StringIO as BytesIO |
6 | 7 |