diff options
| author | Barry Warsaw | 2009-01-16 21:04:21 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-01-16 21:04:21 -0500 |
| commit | ae3d0cc316b826b8325507d960ccf84da601c3b0 (patch) | |
| tree | 3485e2ca463c2131a0ffb1693bc60d569cc9d8b7 /mailman/database/preferences.py | |
| parent | a3f7d07c62b2f7d6ac9d0b700883826c2838db60 (diff) | |
| download | mailman-ae3d0cc316b826b8325507d960ccf84da601c3b0.tar.gz mailman-ae3d0cc316b826b8325507d960ccf84da601c3b0.tar.zst mailman-ae3d0cc316b826b8325507d960ccf84da601c3b0.zip | |
Diffstat (limited to 'mailman/database/preferences.py')
| -rw-r--r-- | mailman/database/preferences.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/mailman/database/preferences.py b/mailman/database/preferences.py index 244a1d2a7..f3ee55673 100644 --- a/mailman/database/preferences.py +++ b/mailman/database/preferences.py @@ -15,6 +15,16 @@ # You should have received a copy of the GNU General Public License along with # GNU Mailman. If not, see <http://www.gnu.org/licenses/>. +"""Model for preferences.""" + +from __future__ import absolute_import, unicode_literals + +__metaclass__ = type +__all__ = [ + 'Preferences', + ] + + from storm.locals import * from zope.interface import implements @@ -37,4 +47,4 @@ class Preferences(Model): delivery_status = Enum() def __repr__(self): - return '<Preferences object at %#x>' % id(self) + return '<Preferences object at {0:#x}>'.format(id(self)) |
