mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
fix PEP8 "E302 expected 1 blank lines, found 0"
This commit is contained in:
parent
3f4f7a544b
commit
69989d4758
2 changed files with 7 additions and 0 deletions
|
|
@ -218,8 +218,10 @@ class DescriptionFormatter:
|
|||
text_wiki = ''
|
||||
text_html = ''
|
||||
linkResolver = None
|
||||
|
||||
def __init__(self, linkres):
|
||||
self.linkResolver = linkres
|
||||
|
||||
def endcur(self, notstates=None):
|
||||
if notstates and self.state in notstates:
|
||||
return
|
||||
|
|
@ -229,13 +231,16 @@ class DescriptionFormatter:
|
|||
self.endul()
|
||||
elif self.state == self.stOL:
|
||||
self.endol()
|
||||
|
||||
def endpara(self):
|
||||
self.text_plain += '\n'
|
||||
self.text_html += '</p>'
|
||||
self.state = self.stNONE
|
||||
|
||||
def endul(self):
|
||||
self.text_html += '</ul>'
|
||||
self.state = self.stNONE
|
||||
|
||||
def endol(self):
|
||||
self.text_html += '</ol>'
|
||||
self.state = self.stNONE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue