Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/util_win32.py @ 4821:8706e75e6431
Merge with crew-stable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 05 Jul 2007 16:15:57 -0500 |
parents | 7549cd526b7f |
children | 8a53b39cd402 |
comparison
equal
deleted
inserted
replaced
4820:9797124581c9 | 4821:8706e75e6431 |
---|---|
298 except pywintypes.error, err: | 298 except pywintypes.error, err: |
299 raise WinIOError(err) | 299 raise WinIOError(err) |
300 | 300 |
301 getuser_fallback = win32api.GetUserName | 301 getuser_fallback = win32api.GetUserName |
302 | 302 |
303 def set_signal_handler(): | 303 def set_signal_handler_win32(): |
304 """Register a termination handler for console events including | 304 """Register a termination handler for console events including |
305 CTRL+C. python signal handlers do not work well with socket | 305 CTRL+C. python signal handlers do not work well with socket |
306 operations. | 306 operations. |
307 """ | 307 """ |
308 def handler(event): | 308 def handler(event): |