Fix quoting in docstring.

This commit is contained in:
Alexis Lahouze 2017-05-07 22:39:16 +02:00
parent 4dbb50301c
commit 0a6f7e3c2e

View File

@ -26,7 +26,7 @@ from .operations import Operation
class ScheduledOperation(db.Model): class ScheduledOperation(db.Model):
"Class used to handle scheduled operations." """Class used to handle scheduled operations."""
# pylint: disable=invalid-name # pylint: disable=invalid-name
id = db.Column(db.Integer, primary_key=True) id = db.Column(db.Integer, primary_key=True)
@ -65,7 +65,7 @@ class ScheduledOperation(db.Model):
@classmethod @classmethod
def query(cls): def query(cls):
"Return base query for this class." """Return base query for this class."""
return db.session.query( return db.session.query(
cls cls
).order_by( ).order_by(
@ -75,7 +75,7 @@ class ScheduledOperation(db.Model):
) )
def reschedule(self): def reschedule(self):
"Reschedule a scheduled operation." """Reschedule a scheduled operation."""
# 1) delete unconfirmed operations for this account. # 1) delete unconfirmed operations for this account.
db.session.query( db.session.query(
Operation Operation