X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fbup%2Fhelpers.py;fp=lib%2Fbup%2Fhelpers.py;h=715ce3389dcc9550e9447fb86025c68c2d677707;hb=7015580d094d7b53002728a393cf913461cef3d6;hp=cf53da84a6a43a6569ec75b6ddd2e868d1d50207;hpb=318870668e54342a47a85022c4b8e34febc14ebf;p=bup.git diff --git a/lib/bup/helpers.py b/lib/bup/helpers.py index cf53da8..715ce33 100644 --- a/lib/bup/helpers.py +++ b/lib/bup/helpers.py @@ -638,8 +638,8 @@ def atomically_replaced_file(name, mode='w', buffering=-1): name if everything succeeds. The mode and buffering arguments are handled exactly as with open, - and the yielded file will have have very restrictive permissions, - as per mkstemp. + and the yielded file will have very restrictive permissions, as + per mkstemp. E.g.::