diff sat/memory/sqlite.py @ 3317:83f25da66bec

core (memory): files are now public by default except for those in root directory: using public permissions by default makes permissions change more easy as we don't have to recursively change all permissions of sub files when changing directory. Root directories are private by default.
author Goffi <goffi@goffi.org>
date Sat, 01 Aug 2020 16:02:41 +0200
parents 780fb8dd07ef
children be6d91572633
line wrap: on
line diff
--- a/sat/memory/sqlite.py	Sat Aug 01 15:59:49 2020 +0200
+++ b/sat/memory/sqlite.py	Sat Aug 01 16:02:41 2020 +0200
@@ -1426,7 +1426,7 @@
         )
         statements.extend([
             f"INSERT INTO files({cols}) SELECT {old_cols} FROM files_old",
-            f"DROP TABLE files_old",
+            "DROP TABLE files_old",
         ])
         statements.extend(Updater.indexData2Raw(index))
         return statements