(self, flags)
| 553 | return os.access(file, os.F_OK) |
| 554 | |
| 555 | def do_open(self, flags): |
| 556 | if self.file_exists(self.file): |
| 557 | fh = open(self.file, 'rb') |
| 558 | try: |
| 559 | self.hash = cPickle.load(fh) |
| 560 | except (IOError, OSError, EOFError, cPickle.PickleError, ValueError): |
| 561 | pass |
| 562 | fh.close() |
| 563 | |
| 564 | self.flags = flags |
| 565 | |
| 566 | def do_close(self): |
| 567 | if self.flags == 'c' or self.flags == 'w': |
nothing calls this directly
no test coverage detected