From 3a1da529bdba0c353b10f6fe2cf1024feb81f809 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Thu, 25 Aug 2022 10:44:05 +0200 Subject: [proxy] normalize whitespace in .py and .sql files --- src/hydrilla/proxy/state_impl/_operations/load_packages.py | 2 +- src/hydrilla/proxy/state_impl/_operations/recompute_dependencies.py | 2 +- src/hydrilla/proxy/state_impl/concrete_state.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/hydrilla/proxy/state_impl') diff --git a/src/hydrilla/proxy/state_impl/_operations/load_packages.py b/src/hydrilla/proxy/state_impl/_operations/load_packages.py index 76a24d1..107e8d6 100644 --- a/src/hydrilla/proxy/state_impl/_operations/load_packages.py +++ b/src/hydrilla/proxy/state_impl/_operations/load_packages.py @@ -194,7 +194,7 @@ def update_or_make_item_version( item_id, version, installed, - repo_iteration_id, + repo_iteration_id, definition, definition_sha256 ) diff --git a/src/hydrilla/proxy/state_impl/_operations/recompute_dependencies.py b/src/hydrilla/proxy/state_impl/_operations/recompute_dependencies.py index 4b48ce8..d4c4d45 100644 --- a/src/hydrilla/proxy/state_impl/_operations/recompute_dependencies.py +++ b/src/hydrilla/proxy/state_impl/_operations/recompute_dependencies.py @@ -209,7 +209,7 @@ def _recompute_dependencies_no_state_update_no_pull_files( INSERT INTO payloads( mapping_item_id, pattern, - eval_allowed, + eval_allowed, cors_bypass_allowed ) VALUES (?, ?, ?, ?); diff --git a/src/hydrilla/proxy/state_impl/concrete_state.py b/src/hydrilla/proxy/state_impl/concrete_state.py index ef698a0..9e56bff 100644 --- a/src/hydrilla/proxy/state_impl/concrete_state.py +++ b/src/hydrilla/proxy/state_impl/concrete_state.py @@ -97,7 +97,7 @@ class ConcreteHaketiloState(base.HaketiloStateWithFields): if not db_initialized: cursor.executescript((here.parent / 'tables.sql').read_text()) - + else: cursor.execute( ''' -- cgit v1.2.3