~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/atomicfile.py

  • Committer: Robert Collins
  • Date: 2005-10-02 01:53:46 UTC
  • mfrom: (1393.1.23)
  • Revision ID: robertc@robertcollins.net-20051002015346-587422189352289e
merge from upstream newformat

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
 
89
89
 
90
90
    def __del__(self):
91
 
        if not self.closed:
 
91
        if hasattr(self, 'closed') and not self.closed:
92
92
            warn("%r leaked" % self)
93
93