2 # |
2 # |
3 # Copyright 2005-2009 Matt Mackall <mpm@selenic.com> and others |
3 # Copyright 2005-2009 Matt Mackall <mpm@selenic.com> and others |
4 # |
4 # |
5 # This software may be used and distributed according to the terms of the |
5 # This software may be used and distributed according to the terms of the |
6 # GNU General Public License version 2, incorporated herein by reference. |
6 # GNU General Public License version 2, incorporated herein by reference. |
7 # |
7 |
8 # Mark Hammond's win32all package allows better functionality on |
8 """Utility functions that use win32 API. |
9 # Windows. this module overrides definitions in util.py. if not |
9 |
10 # available, import of this module will fail, and generic code will be |
10 Mark Hammond's win32all package allows better functionality on |
11 # used. |
11 Windows. This module overrides definitions in util.py. If not |
|
12 available, import of this module will fail, and generic code will be |
|
13 used. |
|
14 """ |
12 |
15 |
13 import win32api |
16 import win32api |
14 |
17 |
15 import errno, os, sys, pywintypes, win32con, win32file, win32process |
18 import errno, os, sys, pywintypes, win32con, win32file, win32process |
16 import cStringIO, winerror |
19 import cStringIO, winerror |