diff options
| author | Abhilash Raj | 2014-10-02 20:16:00 +0530 |
|---|---|---|
| committer | Abhilash Raj | 2014-10-02 20:16:00 +0530 |
| commit | 6d4af22c8ee51e1b097ec0370cadd3f5a6b95c08 (patch) | |
| tree | 2f5a8b9723f670bdc4179f7dbdbb0322ab966fd9 /src/mailman/database/postgresql.py | |
| parent | 556631243a206f1680d6737227c34e2d66d85748 (diff) | |
| parent | 5166ae93e5c51285661f4ac251c0d4b9390fe785 (diff) | |
| download | mailman-6d4af22c8ee51e1b097ec0370cadd3f5a6b95c08.tar.gz mailman-6d4af22c8ee51e1b097ec0370cadd3f5a6b95c08.tar.zst mailman-6d4af22c8ee51e1b097ec0370cadd3f5a6b95c08.zip | |
Diffstat (limited to 'src/mailman/database/postgresql.py')
| -rw-r--r-- | src/mailman/database/postgresql.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mailman/database/postgresql.py b/src/mailman/database/postgresql.py index ca1068302..717b69dd1 100644 --- a/src/mailman/database/postgresql.py +++ b/src/mailman/database/postgresql.py @@ -26,7 +26,7 @@ __all__ = [ from mailman.database.base import SABaseDatabase -from operator import attrgetter +from mailman.database.model import Model @@ -40,7 +40,6 @@ class PostgreSQLDatabase(SABaseDatabase): restart from zero for new tests. """ super(PostgreSQLDatabase, self)._post_reset(store) - from mailman.database.model import Model tables = reversed(Model.metadata.sorted_tables) # Recipe adapted from # http://stackoverflow.com/questions/544791/ |
