fdfsfds
This commit is contained in:
parent
cd06c5babf
commit
5fae115060
3 changed files with 0 additions and 11 deletions
|
@ -309,7 +309,6 @@ class Comment(Base):
|
||||||
return self.__dict__.get('_is_blocked', 0)
|
return self.__dict__.get('_is_blocked', 0)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@lazy
|
|
||||||
def body(self):
|
def body(self):
|
||||||
if self.comment_aux: return self.comment_aux.body
|
if self.comment_aux: return self.comment_aux.body
|
||||||
else: return ""
|
else: return ""
|
||||||
|
@ -320,7 +319,6 @@ class Comment(Base):
|
||||||
g.db.add(self.comment_aux)
|
g.db.add(self.comment_aux)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@lazy
|
|
||||||
def body_html(self):
|
def body_html(self):
|
||||||
return self.comment_aux.body_html
|
return self.comment_aux.body_html
|
||||||
|
|
||||||
|
@ -355,7 +353,6 @@ class Comment(Base):
|
||||||
return body
|
return body
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@lazy
|
|
||||||
def ban_reason(self):
|
def ban_reason(self):
|
||||||
return self.comment_aux.ban_reason
|
return self.comment_aux.ban_reason
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,6 @@ class ModAction(Base):
|
||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@lazy
|
|
||||||
def note(self):
|
def note(self):
|
||||||
|
|
||||||
if self.kind=="ban_user":
|
if self.kind=="ban_user":
|
||||||
|
|
|
@ -366,7 +366,6 @@ class Submission(Base):
|
||||||
return len([x for x in self.awards if x.kind == kind])
|
return len([x for x in self.awards if x.kind == kind])
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@lazy
|
|
||||||
def title(self):
|
def title(self):
|
||||||
return self.submission_aux.title
|
return self.submission_aux.title
|
||||||
|
|
||||||
|
@ -376,7 +375,6 @@ class Submission(Base):
|
||||||
g.db.add(self.submission_aux)
|
g.db.add(self.submission_aux)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@lazy
|
|
||||||
def url(self):
|
def url(self):
|
||||||
return self.submission_aux.url
|
return self.submission_aux.url
|
||||||
|
|
||||||
|
@ -401,7 +399,6 @@ class Submission(Base):
|
||||||
else: return ""
|
else: return ""
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@lazy
|
|
||||||
def body(self):
|
def body(self):
|
||||||
return self.submission_aux.body
|
return self.submission_aux.body
|
||||||
|
|
||||||
|
@ -411,7 +408,6 @@ class Submission(Base):
|
||||||
g.db.add(self.submission_aux)
|
g.db.add(self.submission_aux)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@lazy
|
|
||||||
def body_html(self):
|
def body_html(self):
|
||||||
return self.submission_aux.body_html
|
return self.submission_aux.body_html
|
||||||
|
|
||||||
|
@ -433,7 +429,6 @@ class Submission(Base):
|
||||||
return body
|
return body
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@lazy
|
|
||||||
def title_html(self):
|
def title_html(self):
|
||||||
return self.submission_aux.title_html
|
return self.submission_aux.title_html
|
||||||
|
|
||||||
|
@ -453,7 +448,6 @@ class Submission(Base):
|
||||||
return title
|
return title
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@lazy
|
|
||||||
def ban_reason(self):
|
def ban_reason(self):
|
||||||
return self.submission_aux.ban_reason
|
return self.submission_aux.ban_reason
|
||||||
|
|
||||||
|
@ -463,7 +457,6 @@ class Submission(Base):
|
||||||
g.db.add(self.submission_aux)
|
g.db.add(self.submission_aux)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@lazy
|
|
||||||
def embed_url(self):
|
def embed_url(self):
|
||||||
return self.submission_aux.embed_url
|
return self.submission_aux.embed_url
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue