From 3d715f791a583aa4a729a57551eec03db43a033e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Tue, 21 Apr 2020 17:47:14 +0200 Subject: [PATCH 1/3] Update requirements file to use slixmpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index d63e303..b590aab 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ pyasn1==0.1.6 pyasn1-modules==0.0.4 redis==2.7.2 -sleekxmpp==1.1.11 +slixmpp==1.4.2 wsgiref==0.1.2 From 6dee71f3e9c105d67827c5a74d9f7e3cc96382f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Tue, 21 Apr 2020 21:36:24 +0200 Subject: [PATCH 2/3] Remove unused wsgiref MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- requirements.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index b590aab..c393d60 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,3 @@ pyasn1==0.1.6 pyasn1-modules==0.0.4 redis==2.7.2 slixmpp==1.4.2 -wsgiref==0.1.2 From 27ac6cfb6ccc4e7ad88f1553f7d2681b070dfd76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Tue, 21 Apr 2020 21:36:37 +0200 Subject: [PATCH 3/3] Remove unused Redis MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- memberbot/voting.py | 4 ---- requirements.txt | 1 - 2 files changed, 5 deletions(-) diff --git a/memberbot/voting.py b/memberbot/voting.py index bdf8a98..6b8e8ae 100644 --- a/memberbot/voting.py +++ b/memberbot/voting.py @@ -1,5 +1,4 @@ import json -#import redis import os from slixmpp.xmlstream import ET, ElementBase, register_stanza_plugin @@ -70,9 +69,6 @@ class XSFVoting(BasePlugin): description = 'XSF: Proxy voting' dependencies = set() default_config = { - 'redis_host': 'localhost', - 'redis_port': 6379, - 'redis_db': 0, 'key_prefix': 'xsf:memberbot', 'current_ballot': '', 'data_dir': 'data', diff --git a/requirements.txt b/requirements.txt index c393d60..e3de999 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,3 @@ pyasn1==0.1.6 pyasn1-modules==0.0.4 -redis==2.7.2 slixmpp==1.4.2