Skip to content

Instantly share code, notes, and snippets.


Paul Traina pleasantone

View GitHub Profile
View gist:ea404f47268cbc9651890dc0c5d09e79
diff --git a/hangupsbot/plugins/slackrtm/ b/hangupsbot/plugins/slackrtm/
index 4b316b4..e73930b 100644
--- a/hangupsbot/plugins/slackrtm/
+++ b/hangupsbot/plugins/slackrtm/
@@ -596,6 +596,19 @@ class SlackRTM(object):
_slackrtm_conversations_set(,, syncs)
+ def close(self):
+ for s in self.syncs:
pleasantone /
Last active Feb 24, 2017 — forked from mahmoud/
Recursively merging dictionaries with boltons.iterutils.remap. Useful for @hynek's configs.
This comes from Mahmoud Hashemi @mhashemi found at:
This is an extension of the technique first detailed here:
In short, it calls remap on each container, back to front, using the accumulating
previous values as the default for the current iteration.
You can’t perform that action at this time.