##// END OF EJS Templates
Merge with -stable
Matt Mackall -
r5969:821fc5c0 merge default
parent child Browse files
Show More
@@ -317,10 +317,8 b' class posixfile_nt(object):'
317 self.closed = True
317 self.closed = True
318
318
319 def flush(self):
319 def flush(self):
320 try:
320 # we have no application-level buffering
321 win32file.FlushFileBuffers(self.handle)
321 pass
322 except pywintypes.error, err:
323 raise WinIOError(err)
324
322
325 def truncate(self, pos=0):
323 def truncate(self, pos=0):
326 try:
324 try:
General Comments 0
You need to be logged in to leave comments. Login now