'Remove the pack file from disk.'

def abort(self):

    f = self.file
    if f:
        pfd = self.parentfd
        self.file = None
        self.parentfd = None
        self.idx = None
        try:
            try:
                os.unlink((self.filename + '.pack'))
            finally:
                f.close()
        finally:
            if (pfd is not None):
                os.close(pfd)
