Don't bother making a thing we don't ever use.
This commit is contained in:
parent
9f760adb94
commit
0ecb28be0b
2 changed files with 0 additions and 6 deletions
|
@ -213,9 +213,6 @@ class Comment(CreatedBase):
|
|||
@property
|
||||
@lazy
|
||||
def json_raw(self):
|
||||
flags = {}
|
||||
for f in self.flags(None): flags[f.user.username] = f.reason
|
||||
|
||||
data= {
|
||||
'id': self.id,
|
||||
'level': self.level,
|
||||
|
|
|
@ -222,9 +222,6 @@ class Submission(CreatedBase):
|
|||
@property
|
||||
@lazy
|
||||
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 '',
|
||||
'permalink': self.permalink,
|
||||
'shortlink': self.shortlink,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue