/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/transport/memory.py

  • Committer: Jelmer Vernooij
  • Date: 2017-02-05 17:00:29 UTC
  • mto: (6621.2.1 py3)
  • mto: This revision was merged to the branch mainline in revision 6624.
  • Revision ID: jelmer@jelmer.uk-20170205170029-s01xdro0hkixhq3r
Convert some octal numbers to new notations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
        self.st_size = size
52
52
        if not is_dir:
53
53
            if perms is None:
54
 
                perms = 0644
 
54
                perms = 0o644
55
55
            self.st_mode = S_IFREG | perms
56
56
        else:
57
57
            if perms is None:
58
 
                perms = 0755
 
58
                perms = 0o755
59
59
            self.st_mode = S_IFDIR | perms
60
60
 
61
61