diff options
Diffstat (limited to 'src/mailman/database')
| -rw-r--r-- | src/mailman/database/postgresql.py | 2 | ||||
| -rw-r--r-- | src/mailman/database/types.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/database/postgresql.py b/src/mailman/database/postgresql.py index 693e7c925..a83119f66 100644 --- a/src/mailman/database/postgresql.py +++ b/src/mailman/database/postgresql.py @@ -37,7 +37,7 @@ class PostgreSQLDatabase(SABaseDatabase): Reset the <tablename>_id_seq.last_value so that primary key ids restart from zero for new tests. """ - super(PostgreSQLDatabase, self)._post_reset(store) + super()._post_reset(store) tables = reversed(Model.metadata.sorted_tables) # Recipe adapted from # http://stackoverflow.com/questions/544791/ diff --git a/src/mailman/database/types.py b/src/mailman/database/types.py index c6926d0f2..66fbbf9e9 100644 --- a/src/mailman/database/types.py +++ b/src/mailman/database/types.py @@ -40,8 +40,8 @@ class Enum(TypeDecorator): impl = Integer def __init__(self, enum, *args, **kw): + super().__init__(*args, **kw) self.enum = enum - super(Enum, self).__init__(*args, **kw) def process_bind_param(self, value, dialect): if value is None: |
