Fix whitespace issues
Change-Id: I7c96843996f4847f9e15022f1dc6cd85e8a092f7
diff --git a/TestON/lib/pox/core.py b/TestON/lib/pox/core.py
index 8b31e7a..dc8cab6 100644
--- a/TestON/lib/pox/core.py
+++ b/TestON/lib/pox/core.py
@@ -306,26 +306,26 @@
log.warn("Warning: Registered '%s' multipled times" % (name,))
self.components[name] = component
self.raiseEventNoErrors(ComponentRegistered, name, component)
-
+
def listenToDependencies(self, sink, components):
"""
If a component depends on having other components
- registered with core before it can boot, it can use this method to
+ registered with core before it can boot, it can use this method to
check for registration, and listen to events on those dependencies.
-
+
Note that event handlers named with the _handle* pattern in the sink must
include the name of the desired source as a prefix. For example, if topology is a
dependency, a handler for topology's SwitchJoin event must be labeled:
def _handle_topology_SwitchJoin(...)
-
+
sink - the component waiting on dependencies
components - a list of dependent component names
-
+
Returns whether all of the desired components are registered.
"""
if components == None or len(components) == 0:
return True
-
+
got = set()
for c in components:
if self.hasComponent(c):