Joerg Jaspert pushed to branch master 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
-
f1ef8938
by Joerg Jaspert at 2020-10-25T22:55:56+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,
|
... | ... | @@ -49,7 +49,7 @@ def write_sections(archive, session): |
49 | 49 |
(section, description, longdesc) = row
|
50 | 50 |
print("Section: {0}".format(section))
|
51 | 51 |
print("Description: {0}".format(description))
|
52 |
- print(" {0}".format(longdesc))
|
|
52 |
+ print("Longdesc: {0}".format(longdesc))
|
|
53 | 53 |
print()
|
54 | 54 |
|
55 | 55 |
################################################################################
|