/breezy/unstable

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/unstable

« back to all changes in this revision

Viewing changes to breezy/atomicfile.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-24 01:39:33 UTC
  • mfrom: (3815.3776.6)
  • Revision ID: jelmer@jelmer.uk-20170524013933-ir4y4tqtrsiz2ka2
New upstream snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
import os
20
20
 
21
 
from bzrlib.lazy_import import lazy_import
 
21
from .lazy_import import lazy_import
22
22
lazy_import(globals(), """
23
23
import stat
24
24
import warnings
25
25
 
26
 
from bzrlib import (
 
26
from breezy import (
27
27
    errors,
28
28
    osutils,
29
29
    symbol_versioning,
68
68
        if new_mode is not None:
69
69
            local_mode = new_mode
70
70
        else:
71
 
            local_mode = 0666
 
71
            local_mode = 0o666
72
72
 
73
73
        # Use a low level fd operation to avoid chmodding later.
74
74
        # This may not succeed, but it should help most of the time