Easy spacing fixes, trailing stuff
Remove useless trailing \ Remove trailing spaces Add missing empty lines autopep8 -ir -j2 --select=E301,E302,E502,W291,W293,W391 . Diff quickly checked.
This commit is contained in:
parent
c21d1f7925
commit
7094931c92
231 changed files with 474 additions and 67 deletions
|
|
@ -33,6 +33,7 @@ class Content(CapBaseObject):
|
|||
content = StringField('Body')
|
||||
revision = StringField('ID of revision')
|
||||
|
||||
|
||||
class Revision(CapBaseObject):
|
||||
"""
|
||||
Revision of a change on a content.
|
||||
|
|
@ -42,6 +43,7 @@ class Revision(CapBaseObject):
|
|||
timestamp = DateField('Date of revision')
|
||||
minor = Field('Is this change minor?', bool)
|
||||
|
||||
|
||||
class ICapContent(IBaseCap):
|
||||
def get_content(self, id, revision=None):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue