Module: deluge
Branch: master
Commit: e7c7b8f4db4acaa5811c2573180a0afd6d24f947

Author: Andrew Resch <[email protected]>
Date:   Wed Mar 24 22:55:45 2010 -0700

Fix typo

---

 deluge/component.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/deluge/component.py b/deluge/component.py
index c5c38fb..c1d5b05 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 = []

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to