mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-15 14:05:57 +00:00
Fix typo
This commit is contained in:
parent
78f9f22a40
commit
e7c7b8f4db
@ -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 = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user