Skip to content

Commit 6518cb8

Browse files
Fixed the code quality issue
1 parent 744dfb9 commit 6518cb8

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

infra/scripts/fabric/fabric_data_ingester.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from datetime import datetime, timezone
22
import os
3+
import sys
34
from azure.identity import AzureCliCredential
45
from azure.kusto.data import KustoConnectionStringBuilder, KustoClient
56
from azure.kusto.data.exceptions import KustoServiceError
@@ -284,4 +285,3 @@ def load_data_to_fabric(
284285
except Exception as e:
285286
print(f"\n❌ Unexpected error: {e}")
286287
sys.exit(1)
287-
exit(1)

infra/scripts/fabric/fabric_database.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,4 +315,3 @@ def setup_fabric_database(
315315
except Exception as e:
316316
print(f"\n❌ Unexpected error: {e}")
317317
sys.exit(1)
318-
exit(1)

0 commit comments

Comments
 (0)