Skip to content

Commit d627537

Browse files
committed
Added return statements for conditional validation
1 parent 9d0afe2 commit d627537

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mysql/toolkit/connector.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,10 @@ def execute(self, command):
6868
"""Execute a single SQL query without returning a result."""
6969
self._cursor.execute(command)
7070
self._commit()
71+
return True
7172

7273
def executemany(self, command):
7374
"""Execute multiple SQL queries without returning a result."""
7475
self._cursor.executemany(command)
7576
self._commit()
77+
return True

0 commit comments

Comments
 (0)