summaryrefslogtreecommitdiff
path: root/Mailman/database/version.py
diff options
context:
space:
mode:
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)