From 0c3db116e598c1aac46f971fde6584705b1fd01a Mon Sep 17 00:00:00 2001 From: Matteo Campinoti Date: Wed, 6 Nov 2024 14:28:35 +0100 Subject: [PATCH] database.files:FilesDB.all_files - format SQL select statement --- acacore/database/files_db.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/acacore/database/files_db.py b/acacore/database/files_db.py index 9369d07..5f6f3fc 100644 --- a/acacore/database/files_db.py +++ b/acacore/database/files_db.py @@ -98,14 +98,14 @@ def __init__( BaseFile, "files_all", f""" - select uuid, checksum, relative_path, is_binary, size, puid, signature, warning from {self.original_files.name} - union - select uuid, checksum, relative_path, is_binary, size, puid, signature, warning from {self.master_files.name} - union - select uuid, checksum, relative_path, is_binary, size, puid, signature, warning from {self.access_files.name} - union - select uuid, checksum, relative_path, is_binary, size, puid, signature, warning from {self.statutory_files.name} - """, + select uuid, checksum, relative_path, is_binary, size, puid, signature, warning from {self.original_files.name} + union + select uuid, checksum, relative_path, is_binary, size, puid, signature, warning from {self.master_files.name} + union + select uuid, checksum, relative_path, is_binary, size, puid, signature, warning from {self.access_files.name} + union + select uuid, checksum, relative_path, is_binary, size, puid, signature, warning from {self.statutory_files.name} + """, ignore=["root"], )