aboutsummaryrefslogtreecommitdiffstats
path: root/pushover.py
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2016-12-29 19:39:51 +0100
committerThibaut Horel <thibaut.horel@gmail.com>2016-12-29 19:39:51 +0100
commite89075aa3a94cb153746b9aebbfaeab018f3c9ed (patch)
tree195170ef87e2d280d245c3ff862871c5df8d1c98 /pushover.py
parent4619f4f4ed3ebf5f41aca19063ee979db7099a9a (diff)
downloadpython-pushover-e89075aa3a94cb153746b9aebbfaeab018f3c9ed.tar.gz
Line length fix
Diffstat (limited to 'pushover.py')
-rw-r--r--pushover.py9
1 files 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