/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/export/tar_exporter.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:
65
65
        item.type = tarfile.DIRTYPE
66
66
        item.name += '/'
67
67
        item.size = 0
68
 
        item.mode = 0755
 
68
        item.mode = 0o755
69
69
        fileobj = None
70
70
    elif entry.kind == "symlink":
71
71
        item.type = tarfile.SYMTYPE
72
72
        item.size = 0
73
 
        item.mode = 0755
 
73
        item.mode = 0o755
74
74
        item.linkname = tree.get_symlink_target(entry.file_id, tree_path)
75
75
        fileobj = None
76
76
    else: