aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2015-01-18 14:49:59 -0800
committerRyan Huber <rhuber@gmail.com>2015-01-18 14:49:59 -0800
commitcd464a54b2228211a502424e42f7c9fd36b80794 (patch)
tree68bbc6474deb262749078b567d6a29a7b355aad9 /wee_slack.py
parent79a27b49f06b42d332ae52c5a061ffab4c8cb9d9 (diff)
downloadwee-slack-cd464a54b2228211a502424e42f7c9fd36b80794.tar.gz
remove copied comment
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/wee_slack.py b/wee_slack.py
index e09743f..3bfcaaa 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -727,14 +727,12 @@ def command_markread(current_buffer, args):
servers.find(domain).channels.find(channel).mark_read()
def command_cacheinfo(current_buffer, args):
- # refactor this - one liner i think
for channel in message_cache.keys():
c = channels.find(channel)
w.prnt("", "{} {}".format(channels.find(channel), len(message_cache[channel])))
# server.buffer_prnt("{} {}".format(channels.find(channel), len(message_cache[channel])))
def command_uncache(current_buffer, args):
- # refactor this - one liner i think
identifier = channels.find(current_buffer).identifier
message_cache.pop(identifier)
cache_write_cb("","")