Show More
@@ -294,10 +294,8 b' class posixfile_nt(object):' | |||||
294 | self.closed = True |
|
294 | self.closed = True | |
295 |
|
295 | |||
296 | def flush(self): |
|
296 | def flush(self): | |
297 | try: |
|
297 | # we have no application-level buffering | |
298 | win32file.FlushFileBuffers(self.handle) |
|
298 | pass | |
299 | except pywintypes.error, err: |
|
|||
300 | raise WinIOError(err) |
|
|||
301 |
|
299 | |||
302 | def truncate(self, pos=0): |
|
300 | def truncate(self, pos=0): | |
303 | try: |
|
301 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now