From e89075aa3a94cb153746b9aebbfaeab018f3c9ed Mon Sep 17 00:00:00 2001 From: Thibaut Horel Date: Thu, 29 Dec 2016 19:39:51 +0100 Subject: Line length fix --- pushover.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pushover.py b/pushover.py index b89f92a..765e4ab 100644 --- a/pushover.py +++ b/pushover.py @@ -166,13 +166,14 @@ class MessageRequest(Request): def cancel(self): """If the message request has a priority of 2, Pushover will keep - sending the same notification until it either reaches its ``expire`` value - or is aknowledged by the client. Calling the :func:`cancel` function will - cancel the notification early. + sending the same notification until it either reaches its ``expire`` + value or is aknowledged by the client. Calling the :func:`cancel` + function will cancel the notification early. """ if (self.receipt and not any(getattr(self, parameter) for parameter in self.parameters)): - request = Request("post", RECEIPT_URL + self.receipt + "/cancel.json", {}) + request = Request("post", RECEIPT_URL + self.receipt + + "/cancel.json", {}) return request -- cgit v1.2.3-70-g09d2