Commit f55e3c21 authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

mkpkglists.py: Honor database socket setting



Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
parent 495455c2
......@@ -15,10 +15,11 @@ aur_db_host = config.get('database', 'host')
aur_db_name = config.get('database', 'name')
aur_db_user = config.get('database', 'user')
aur_db_pass = config.get('database', 'password')
aur_db_socket = config.get('database', 'socket')
db = mysql.connector.connect(host=aur_db_host, user=aur_db_user,
passwd=aur_db_pass, db=aur_db_name,
buffered=True)
unix_socket=aur_db_socket, buffered=True)
cur = db.cursor()
datestr = datetime.datetime.utcnow().strftime("%a, %d %b %Y %H:%M:%S GMT")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment