summaryrefslogtreecommitdiff
path: root/depcheck.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2019-11-05 06:04:21 +0100
committerHelmut Grohne <helmut@subdivi.de>2019-11-05 06:04:21 +0100
commit7276e444c374e597c32883aaa2305976b09b9071 (patch)
tree421566cac52b0de1ac7f0476f352930c5899f261 /depcheck.py
parent0615c3f1684b01c1fa6fc54fc8c53f7632179fa3 (diff)
downloadcrossqa-7276e444c374e597c32883aaa2305976b09b9071.tar.gz
depcheck: ignore givebacks
When an architecture encounters an installation error, the chance that dose and apt disagree is very high. Thus skip the relevant architecture until the next mirror push entirely.
Diffstat (limited to 'depcheck.py')
-rwxr-xr-xdepcheck.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/depcheck.py b/depcheck.py
index e417c72..ded5fab 100755
--- a/depcheck.py
+++ b/depcheck.py
@@ -461,8 +461,7 @@ def main():
mirror.update_release()
db = sqlite3.connect("db")
cur = db.cursor()
- cur.execute("""SELECT architecture FROM depcheck
- WHERE giveback = 1 OR releasetime < ?;""",
+ cur.execute("SELECT architecture FROM depcheck WHERE releasetime < ?;",
(mirror.releasetime,))
archs = set(row[0] for row in cur.fetchall())
if not archs: