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:
Laurent Bachelier 2013-03-15 20:01:49 +01:00
commit 7094931c92
231 changed files with 474 additions and 67 deletions

View file

@ -31,6 +31,7 @@ class IssueError(UserError):
Raised when there is an error with an issue.
"""
class Project(CapBaseObject):
"""
Represents a project.
@ -101,6 +102,7 @@ class Project(CapBaseObject):
return None
return None
class User(CapBaseObject):
"""
User.
@ -114,6 +116,7 @@ class User(CapBaseObject):
def __repr__(self):
return '<User %r>' % self.name
class Version(CapBaseObject):
"""
Version of a project.
@ -127,6 +130,7 @@ class Version(CapBaseObject):
def __repr__(self):
return '<Version %r>' % self.name
class Status(CapBaseObject):
"""
Status of an issue.
@ -150,6 +154,7 @@ class Status(CapBaseObject):
def __repr__(self):
return '<Status %r>' % self.name
class Attachment(CapBaseObject):
"""
Attachment of an issue.
@ -160,6 +165,7 @@ class Attachment(CapBaseObject):
def __repr__(self):
return '<Attachment %r>' % self.filename
class Change(CapBaseObject):
"""
A change of an update.
@ -168,6 +174,7 @@ class Change(CapBaseObject):
last = StringField('Last value of field')
new = StringField('New value of field')
class Update(CapBaseObject):
"""
Represents an update of an issue.
@ -182,6 +189,7 @@ class Update(CapBaseObject):
def __repr__(self):
return '<Update %r>' % self.id
class Issue(CapBaseObject):
"""
Represents an issue.
@ -199,6 +207,7 @@ class Issue(CapBaseObject):
version = Field('Target version of this issue', Version)
status = Field('Status of this issue', Status)
class Query(CapBaseObject):
"""
Query to find an issue.
@ -214,6 +223,7 @@ class Query(CapBaseObject):
def __init__(self):
CapBaseObject.__init__(self, '')
class ICapBugTracker(IBaseCap):
"""
Bug trackers websites.