From: Rob Browning Date: Fri, 29 Aug 2014 20:32:21 +0000 (-0500) Subject: Fix typo in atomically_replaced_file docstring X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=7015580d094d7b53002728a393cf913461cef3d6;p=packages%2Fb%2Fbup.git Fix typo in atomically_replaced_file docstring Thanks to Gabriel Filion for pointing out the problem. Signed-off-by: Rob Browning --- 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.::