Joerg Jaspert pushed to branch deploy at Debian FTP Team / dak
Commits:
-
89eab7d6
by Joerg Jaspert at 2020-10-25T22:35:41+01:00
-
c24e939e
by Joerg Jaspert at 2020-10-25T22:43:13+01:00
-
c6f0f84b
by Joerg Jaspert at 2020-10-25T22:43:42+01:00
2 changed files:
Changes:
| ... | ... | @@ -111,7 +111,7 @@ def do_update(self): |
| 111 | 111 |
for section in sections:
|
| 112 | 112 |
c.execute("UPDATE section SET description='{1}', longdesc='' WHERE section='{0}'".format(section, sections[section]["desc"], sections[section]["longdesc"]))
|
| 113 | 113 |
c.execute("UPDATE section SET description='{1}', longdesc='' WHERE section='contrib/{0}'".format(section, sections[section]["desc"], sections[section]["longdesc"]))
|
| 114 |
- c.execute("UPDATE section SET description='{1}', longdesc='' WHERE section='non-free{0}'".format(section, sections[section]["desc"], sections[section]["longdesc"]))
|
|
| 114 |
+ c.execute("UPDATE section SET description='{1}', longdesc='' WHERE section='non-free/{0}'".format(section, sections[section]["desc"], sections[section]["longdesc"]))
|
|
| 115 | 115 |
|
| 116 | 116 |
c.execute("UPDATE config SET value = '124' WHERE name = 'db_revision'")
|
| 117 | 117 |
self.db.commit()
|
| ... | ... | @@ -35,7 +35,7 @@ from daklib.dbconn import * |
| 35 | 35 |
################################################################################
|
| 36 | 36 |
|
| 37 | 37 |
|
| 38 |
-def write_sections(archive, session):
|
|
| 38 |
+def write_sections(session):
|
|
| 39 | 39 |
query_sections = """
|
| 40 | 40 |
SELECT
|
| 41 | 41 |
section,
|