git-interface: Do not use UNIX_TIMESTAMP
commitf2a6bd207d5c3400e304c53f0b6eafb4bc5b7ece
authorLukas Fleischer <lfleischer@archlinux.org>
Fri, 5 Aug 2016 09:36:19 +0000 (5 11:36 +0200)
committerLukas Fleischer <lfleischer@archlinux.org>
Fri, 5 Aug 2016 10:05:22 +0000 (5 12:05 +0200)
tree0a7fe5b21abbbdf077bab41005ff35df25f3ee52
parent27631f1157226bd9ca4d0dbfb6a59c7656e7e361
git-interface: Do not use UNIX_TIMESTAMP

Avoid using UNIX_TIMESTAMP which is not part of the SQL standard.
Retrieve the current UNIX time in Python and substitute it into the SQL
queries instead.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
git-interface/git-serve.py
git-interface/git-update.py