/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: Jelmer Vernooij
  • Date: 2011-08-12 10:34:58 UTC
  • mto: (6015.9.11 2.4)
  • mto: This revision was merged to the branch mainline in revision 6070.
  • Revision ID: jelmer@samba.org-20110812103458-g31sf2v6ts1ort35
Fix entry in known_revnos for generate_revision_history.

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)