From 71de86fdaeeee2d6b4c34b85bd1c7949d36729e0 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Sun, 10 Nov 2024 10:02:28 -0500 Subject: [PATCH] Don't use slots for that (switch to NamedTuple?) --- lib/nntp/tiny/newsgroup.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/nntp/tiny/newsgroup.py b/lib/nntp/tiny/newsgroup.py index 17e439a..0ee902a 100644 --- a/lib/nntp/tiny/newsgroup.py +++ b/lib/nntp/tiny/newsgroup.py @@ -1,8 +1,6 @@ from nntp.tiny.db import DatabaseTable class Newsgroup(DatabaseTable): - __slots__ = 'id', 'created_on', 'name', 'description', - name = 'newsgroup' key = 'id' columns = 'id', 'created_on', 'name', 'description',