~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: 2010-03-05 09:27:03 UTC
  • mfrom: (5074.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20100305092703-xwm9tmj33i3ym5rp
(vila) Merge 2.1 into bzr.dev including fixes for #524560 and #449776

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
 
61
61
        self.realfilename = filename
62
62
 
63
 
        flags = os.O_EXCL | os.O_CREAT | os.O_WRONLY
 
63
        flags = os.O_EXCL | os.O_CREAT | os.O_WRONLY | osutils.O_NOINHERIT
64
64
        if mode == 'wb':
65
65
            flags |= osutils.O_BINARY
66
66
        elif mode != 'wt':