From e7c7b8f4db4acaa5811c2573180a0afd6d24f947 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Wed, 24 Mar 2010 22:55:45 -0700 Subject: [PATCH] Fix typo --- deluge/component.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/component.py b/deluge/component.py index c5c38fb33..c1d5b05d7 100644 --- a/deluge/component.py +++ b/deluge/component.py @@ -264,7 +264,7 @@ class ComponentRegistry(object): raise KeyError("%s is not a registered component!" % names) for name in names: - if name is not in self.components: + if name not in self.components: raise KeyError("%s is not a registered component!" % name) deferreds = []