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, 6 insertions, 0 deletions
diff --git a/mailman/database/version.py b/mailman/database/version.py
index 83e50b821..519c5438c 100644
--- a/mailman/database/version.py
+++ b/mailman/database/version.py
@@ -15,6 +15,11 @@
# You should have received a copy of the GNU General Public License along with
# GNU Mailman. If not, see <http://www.gnu.org/licenses/>.
+__metaclass__ = type
+__all__ = [
+ 'Version',
+ ]
+
from storm.locals import *
from mailman.database.model import Model
@@ -26,5 +31,6 @@ class Version(Model):
version = Int()
def __init__(self, component, version):
+ super(Version, self).__init__()
self.component = component
self.version = version