Fixed E703 (useless-semicolon): Statement ends with an unnecessary semicolon

This commit is contained in:
Teal Dulcet 2023-12-22 07:23:08 -08:00 committed by Joshua Tauberer
parent 57dcd4bb51
commit ec32e1d578
2 changed files with 2 additions and 2 deletions

View File

@ -511,7 +511,7 @@ def remove_mail_alias(address, env, do_kick=True):
def add_auto_aliases(aliases, env):
conn, c = open_database(env, with_connection=True)
c.execute("DELETE FROM auto_aliases");
c.execute("DELETE FROM auto_aliases")
for source, destination in aliases.items():
c.execute("INSERT INTO auto_aliases (source, destination) VALUES (?, ?)", (source, destination))
conn.commit()

View File

@ -213,7 +213,7 @@ def run_migrations():
migration_id = None
if os.path.exists(migration_id_file):
with open(migration_id_file) as f:
migration_id = f.read().strip();
migration_id = f.read().strip()
if migration_id is None:
# Load the legacy location of the migration ID. We'll drop support