mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-12-19 00:09:21 +11:00
Removed unused method.
This commit is contained in:
parent
fae95e1e2a
commit
a5a15b3131
1 changed files with 0 additions and 3 deletions
|
@ -30,9 +30,6 @@ class Snippet(models.Model):
|
|||
def get_linecount(self):
|
||||
return len(self.content.splitlines())
|
||||
|
||||
def content_splitted(self):
|
||||
return self.content.splitlines()
|
||||
|
||||
@property
|
||||
def is_single(self):
|
||||
return self.is_root_node() and not self.get_children()
|
||||
|
|
Loading…
Reference in a new issue