/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/tests/stub_sftp.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:
172
172
            else:
173
173
                # os.open() defaults to 0777 which is
174
174
                # an odd default mode for files
175
 
                fd = os.open(path, flags, 0666)
 
175
                fd = os.open(path, flags, 0o666)
176
176
        except OSError as e:
177
177
            return paramiko.SFTPServer.convert_errno(e.errno)
178
178