~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/atomicfile.py

Move all features to bzrlib.tests.features in 2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
        """Discard the file unless already committed."""
119
119
        if self._fd is not None:
120
120
            self.abort()
121
 
 
122
 
    def __del__(self):
123
 
        if self._fd is not None:
124
 
            warnings.warn("%r leaked" % self)