💚 Fix a merge error and make CI happy

This commit is contained in:
Gina Häußge committed 2020-09-14 13:58:58 +02:00
1 parent 5f7c7ecfd8
commit c1fa23d745
1 file changed
-2
-2
View File
@@ -1069,8 +1069,6 @@ def atomic_write(filename, mode="w+b", encoding="utf-8", prefix="tmp", suffix=""
permissions |= os.stat(filename).st_mode
permissions &= max_permissions
targetdirectory = os.path.dirname(filename)
# Ensure we create the file in the target dir so our move is atomic. See #3719
dir = os.path.dirname(filename)