Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/d/i/DirectoryStorage-1.1.21/LocalFilesystem.py   DirectoryStorage(Download)
                    # We could treat it the same as the first branch, but it
                    # is more efficient to remove it.
                    self.unlink(os.path.join(sourcedir,sname))
            finally:
               self.relocations_lock.release()
            path = os.path.join('journal',file)
            for file in self.listdir(path):
                self.unlink(os.path.join(path,file))
            # ... and delete the directory
            self.rmdir(path)
    def _unlink_snapshot_file(self):
        try:
            self.unlink('misc/snapshot')
        except FileDoesNotExist:
            pass