From 36a646661d045fd688fee5aa6fef41a380be0f9a Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Tue, 28 Apr 2015 20:26:17 +0200 Subject: [PATCH] Recommend chardet instead of charade. Closes GH-1096. --- requirements.txt | 2 +- src/world.py | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 3fa312f09..3462ef64a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -charade +chardet pytz python-dateutil python-gnupg diff --git a/src/world.py b/src/world.py index 888d52578..3904f2239 100644 --- a/src/world.py +++ b/src/world.py @@ -95,7 +95,15 @@ if sys.version_info[0:3] == (3, 3, 1) and hasattr(select, 'poll'): commandsProcessed = 0 -ircs = [] # A list of all the IRCs. +#ircs = [] # A list of all the IRCs. +class Foo(list): + def remove(self, item): + print('--'*100) + print('Removing %r' % item) + import traceback + traceback.print_stack() + super().remove(item) +ircs = Foo() def getIrc(network): network = network.lower()