Mercurial > public > mercurial-scm > hg
diff mercurial/pure/osutil.py @ 27338:810337ae1b76
osutil: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 12 Dec 2015 13:46:32 -0500 |
parents | 977102cb12fc |
children | e517a89c24e1 |
line wrap: on
line diff
--- a/mercurial/pure/osutil.py Sat Dec 12 13:37:56 2015 -0500 +++ b/mercurial/pure/osutil.py Sat Dec 12 13:46:32 2015 -0500 @@ -5,6 +5,8 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. +from __future__ import absolute_import + import os import stat as statmod @@ -58,7 +60,8 @@ if os.name != 'nt': posixfile = open else: - import ctypes, msvcrt + import ctypes + import msvcrt _kernel32 = ctypes.windll.kernel32