/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/atomicfile.py

  • Committer: Martin Pool
  • Date: 2011-07-22 00:03:11 UTC
  • mto: (6015.3.6 2.4)
  • mto: This revision was merged to the branch mainline in revision 6046.
  • Revision ID: mbp@canonical.com-20110722000311-zox2mfp3rrm7jhxu
Mention GNU and improve phrasing of the start of the man page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
from bzrlib.lazy_import import lazy_import
21
21
lazy_import(globals(), """
22
22
import stat
23
 
import socket
24
23
import warnings
25
24
 
26
25
from bzrlib import (
119
118
        """Discard the file unless already committed."""
120
119
        if self._fd is not None:
121
120
            self.abort()
122
 
 
123
 
    def __del__(self):
124
 
        if self._fd is not None:
125
 
            warnings.warn("%r leaked" % self)