~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/atomicfile.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-07-15 15:08:52 UTC
  • mfrom: (6026.2.5 deprecations)
  • Revision ID: pqm@pqm.ubuntu.com-20110715150852-zin0b58lmxzw0ym6
(vila) Remove deprecated stuff in bzrlib.log (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
            if stat.S_IMODE(st.st_mode) != new_mode:
81
81
                os.chmod(self.tmpfilename, new_mode)
82
82
 
83
 
    def _get_closed(self):
84
 
        symbol_versioning.warn('AtomicFile.closed deprecated in bzr 0.10',
85
 
                               DeprecationWarning, stacklevel=2)
86
 
        return self._fd is None
87
 
 
88
 
    closed = property(_get_closed)
89
 
 
90
83
    def __repr__(self):
91
84
        return '%s(%r)' % (self.__class__.__name__,
92
85
                           self.realfilename)