Don't bother making a thing we don't ever use.

This commit is contained in:
Ben Rog-Wilhelm 2023-09-04 22:20:50 -05:00
parent 9f760adb94
commit 0ecb28be0b
2 changed files with 0 additions and 6 deletions

View file

@ -213,9 +213,6 @@ class Comment(CreatedBase):
@property @property
@lazy @lazy
def json_raw(self): def json_raw(self):
flags = {}
for f in self.flags(None): flags[f.user.username] = f.reason
data= { data= {
'id': self.id, 'id': self.id,
'level': self.level, 'level': self.level,

View file

@ -222,9 +222,6 @@ class Submission(CreatedBase):
@property @property
@lazy @lazy
def json_raw(self): def json_raw(self):
flags = {}
for f in self.flags(None): flags[f.user.username] = f.reason
data = {'author_name': self.author_name if self.author else '', data = {'author_name': self.author_name if self.author else '',
'permalink': self.permalink, 'permalink': self.permalink,
'shortlink': self.shortlink, 'shortlink': self.shortlink,