comparison mercurial/windows.py @ 7932:96501a4abbec

windows: fix import of win32.py (was util_win32.py)
author Sune Foldager <cryo@cyanite.org>
date Thu, 02 Apr 2009 16:49:34 +0200
parents 48661519913f
children 5325596c354c
comparison
equal deleted inserted replaced
7931:026bcd12a0ad 7932:96501a4abbec
243 return None 243 return None
244 244
245 posixfile = file 245 posixfile = file
246 try: 246 try:
247 # override functions with win32 versions if possible 247 # override functions with win32 versions if possible
248 from util_win32 import * 248 from win32 import *
249 if not _is_win_9x(): 249 if not _is_win_9x():
250 posixfile = posixfile_nt 250 posixfile = posixfile_nt
251 except ImportError: 251 except ImportError:
252 pass 252 pass
253 253