summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2016-02-22 04:45:39 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2016-02-22 04:46:50 +0100
commit13d6de588b31e6d29a79623a5c6b8a575a25deb3 (patch)
tree02fedaaee1309d361d0e6310cbe4559a9e41f08a
parent4583a626a53713601e4cac38ee6574d380d7ed53 (diff)
downloadupdate-topic-13d6de588b31e6d29a79623a5c6b8a575a25deb3.tar.gz
update-topic-13d6de588b31e6d29a79623a5c6b8a575a25deb3.tar.bz2
update-topic-13d6de588b31e6d29a79623a5c6b8a575a25deb3.zip
Disable writes to the socket to wait for the timer
-rw-r--r--debian/changelog6
-rw-r--r--update_topic.py3
2 files changed, 9 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index f3ad578..e8090d7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+phenny-module-update-topic (0.3) UNRELEASED; urgency=low
+
+ * Disable writes to the socket to wait for the timer
+
+ -- Alexander Sulfrian <alex@spline.inf.fu-berlin.de> Mon, 22 Feb 2016 04:46:41 +0100
+
phenny-module-update-topic (0.2) UNRELEASED; urgency=low
* Update url for pad for padlite
diff --git a/update_topic.py b/update_topic.py
index 0de7370..bdcba6c 100644
--- a/update_topic.py
+++ b/update_topic.py
@@ -61,6 +61,9 @@ class Scheduler(asyncore.dispatcher):
self.timer.cancel()
asyncore.dispatcher.close()
+ def writable(self):
+ return False
+
def handle_read(self):
data = self.recv(8192)
if data: