Skip to content

Commit

Permalink
Update logging
Browse files Browse the repository at this point in the history
  • Loading branch information
lithomson committed Nov 6, 2024
1 parent 21bcc31 commit 517d41d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion seq_dbutils/trigger.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def drop_and_create_trigger(self):
self.create_trigger()

def drop_trigger_if_exists(self):
logging.info(f'DROP TRIGGER IF EXISTS {self.trigger_name}')
logging.info(f'DROP TRIGGER IF EXISTS {self.trigger_name};')
self.session_instance.execute('DROP TRIGGER IF EXISTS %s;', (self.trigger_name,))

def create_trigger(self):
Expand Down
2 changes: 1 addition & 1 deletion seq_dbutils/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def drop_and_create_view(self):

@staticmethod
def drop_view_if_exists(session_instance, view_name):
logging.info(f'DROP VIEW IF EXISTS {view_name}')
logging.info(f'DROP VIEW IF EXISTS {view_name};')
session_instance.execute('DROP VIEW IF EXISTS %s;', (view_name,))

def create_view(self):
Expand Down

0 comments on commit 517d41d

Please sign in to comment.