mirror of
https://github.com/dolthub/dolt.git
synced 2026-04-22 02:50:04 -05:00
fix entrypoint
This commit is contained in:
@@ -54,7 +54,7 @@ def main():
|
||||
print(exp_results)
|
||||
print("Received:")
|
||||
print(results)
|
||||
exit(1)
|
||||
sys.exit(1)
|
||||
except mysql.connector.errors.InterfaceError:
|
||||
|
||||
# This is a write query
|
||||
@@ -64,7 +64,7 @@ def main():
|
||||
|
||||
connection.close()
|
||||
|
||||
exit(0)
|
||||
sys.exit(0)
|
||||
|
||||
|
||||
main()
|
||||
|
||||
@@ -54,14 +54,14 @@ def main():
|
||||
print(exp_results)
|
||||
print("Received:")
|
||||
print(results)
|
||||
exit(1)
|
||||
sys.exit(1)
|
||||
# You can't call fetchall on an insert
|
||||
# so we'll just ignore the exception
|
||||
except sqlalchemy.exc.ResourceClosedError:
|
||||
pass
|
||||
|
||||
con.close()
|
||||
exit(0)
|
||||
sys.exit(0)
|
||||
|
||||
|
||||
main()
|
||||
|
||||
@@ -44,11 +44,11 @@ def main():
|
||||
print(exp_results)
|
||||
print("Received:")
|
||||
print(results)
|
||||
exit(1)
|
||||
sys.exit(1)
|
||||
|
||||
connection.close()
|
||||
|
||||
exit(0)
|
||||
sys.exit(0)
|
||||
|
||||
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user