summaryrefslogtreecommitdiff
path: root/Mailman/database/version.py
diff options
context:
space:
mode:
authorbwarsaw2007-01-18 06:29:42 +0000
committerbwarsaw2007-01-18 06:29:42 +0000
commit372d4c2fdf072f6bfedca5fc84a2d5bb427418e6 (patch)
tree594db647158d8156f51ea6d05aba093f29ae061e /Mailman/database/version.py
parent1e63bc4a3b6d9197e66f57e11f4b6733a3b324dd (diff)
downloadmailman-372d4c2fdf072f6bfedca5fc84a2d5bb427418e6.tar.gz
mailman-372d4c2fdf072f6bfedca5fc84a2d5bb427418e6.tar.zst
mailman-372d4c2fdf072f6bfedca5fc84a2d5bb427418e6.zip
Diffstat (limited to 'Mailman/database/version.py')
-rw-r--r--Mailman/database/version.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mailman/database/version.py b/Mailman/database/version.py
index 93b97e470..57c50b0ef 100644
--- a/Mailman/database/version.py
+++ b/Mailman/database/version.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2006 by the Free Software Foundation, Inc.
+# Copyright (C) 2006-2007 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -21,11 +21,11 @@ from sqlalchemy import *
-def make_table(metadata):
+def make_table(metadata, tables):
table = Table(
'Version', metadata,
Column('version_id', Integer, primary_key=True),
Column('component', String(20)),
Column('version', Integer),
)
- return table
+ tables.bind(table)