From cf557b516ac1fc175f1c0726acc3fc0aaa4bd30e Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sun, 24 May 2015 12:29:11 +0200 Subject: [PATCH] Fix Python 2.6 support. --- src/irclib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/irclib.py b/src/irclib.py index 55b61a932..9c88c6cdc 100644 --- a/src/irclib.py +++ b/src/irclib.py @@ -951,8 +951,8 @@ class Irc(IrcCommandDispatcher): self.outstandingPing = False - REQUEST_CAPABILITIES = {'account-notify', 'extended-join', 'multi-prefix', - 'metadata-notify', 'account-tag'} + REQUEST_CAPABILITIES = set(['account-notify', 'extended-join', + 'multi-prefix', 'metadata-notify', 'account-tag']) def _queueConnectMessages(self): if self.zombie: