diff mercurial/util_win32.py @ 4802:7549cd526b7f

Fix serve on Windows without win32* modules.
author Nathan Jones <nathanj@insightbb.com>
date Tue, 26 Jun 2007 10:48:58 -0400
parents 272c0a09b203
children 8a53b39cd402
line wrap: on
line diff
--- a/mercurial/util_win32.py
+++ b/mercurial/util_win32.py
@@ -300,7 +300,7 @@ class posixfile_nt(object):
 
 getuser_fallback = win32api.GetUserName
 
-def set_signal_handler():
+def set_signal_handler_win32():
     """Register a termination handler for console events including
     CTRL+C. python signal handlers do not work well with socket
     operations.