projects
/
dak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c7c884
)
This is SQL, not Python.
author
Chris Lamb
<lamby@debian.org>
Tue, 27 Oct 2009 14:53:01 +0000
(14:53 +0000)
committer
Chris Lamb
<lamby@debian.org>
Tue, 27 Oct 2009 14:53:01 +0000
(14:53 +0000)
Signed-off-by: Chris Lamb <lamby@debian.org>
dak/dakdb/update15.py
patch
|
blob
|
history
diff --git
a/dak/dakdb/update15.py
b/dak/dakdb/update15.py
index 6c000830b0be4bbca25db431b76df32672dbd578..dd0f9433595b487e58986b81e79f69bc712566af 100644
(file)
--- a/
dak/dakdb/update15.py
+++ b/
dak/dakdb/update15.py
@@
-61,7
+61,7
@@
def do_update(self):
print "Authorize format 1.0 on all suites by default"
c.execute("SELECT id FROM suite")
suites = c.fetchall()
- c.execute("SELECT id FROM src_format WHERE format_name =
=
'1.0'")
+ c.execute("SELECT id FROM src_format WHERE format_name = '1.0'")
formats = c.fetchall()
for s in suites:
c.execute("INSERT INTO suite_src_formats (suite, src_format) VALUES(%s, %s)", (s[0], f[0]))