]> arthur.barton.de Git - bup.git/commitdiff
Fix typo in atomically_replaced_file docstring
authorRob Browning <rlb@defaultvalue.org>
Fri, 29 Aug 2014 20:32:21 +0000 (15:32 -0500)
committerRob Browning <rlb@defaultvalue.org>
Fri, 29 Aug 2014 20:47:38 +0000 (15:47 -0500)
Thanks to Gabriel Filion <gabster@lelutin.ca> for pointing out the
problem.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/helpers.py

index cf53da84a6a43a6569ec75b6ddd2e868d1d50207..715ce3389dcc9550e9447fb86025c68c2d677707 100644 (file)
@@ -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.::