Skip to content
Snippets Groups Projects

Split raw database connections out of aurweb.db

Closed Evangelos Foutras requested to merge (removed):speed-up-git-auth into master
All threads resolved!
Files
3
+ 2
2
@@ -5,7 +5,7 @@ import shlex
import sys
import aurweb.config
import aurweb.db
import aurweb.db_connection
def format_command(env_vars, command, ssh_opts, ssh_key):
@@ -34,7 +34,7 @@ def main():
if keytype not in valid_keytypes:
exit(1)
conn = aurweb.db.Connection()
conn = aurweb.db_connection.Connection()
cur = conn.execute("SELECT Users.Username, Users.AccountTypeID FROM Users "
"INNER JOIN SSHPubKeys ON SSHPubKeys.UserID = Users.ID "
Loading