diff options
author | Tom Rondeau <tom@trondeau.com> | 2014-07-07 12:18:00 -0400 |
---|---|---|
committer | Tom Rondeau <tom@trondeau.com> | 2014-07-07 12:18:00 -0400 |
commit | 597b93798a804cde1783d6d2ab53b348d57c44cd (patch) | |
tree | b65e73bb0de634ff5d209b15971ebdabf369a45c /grc/base/Connection.py | |
parent | 1151e5502ccd440ebd89599cf7e4be4fb5ed8334 (diff) |
Removing trailing/extra whitespaces before release.
We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
Diffstat (limited to 'grc/base/Connection.py')
-rw-r--r-- | grc/base/Connection.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/grc/base/Connection.py b/grc/base/Connection.py index 252b7deac1..b35ca91050 100644 --- a/grc/base/Connection.py +++ b/grc/base/Connection.py @@ -25,13 +25,13 @@ class Connection(Element): def __init__(self, flow_graph, porta, portb): """ Make a new connection given the parent and 2 ports. - + Args: flow_graph: the parent of this element porta: a port (any direction) portb: a port (any direction) @throws Error cannot make connection - + Returns: a new connection """ @@ -55,10 +55,10 @@ class Connection(Element): self._source = source self._sink = sink if source.get_type() == 'bus': - + sources = source.get_associated_ports(); sinks = sink.get_associated_ports(); - + for i in range(len(sources)): try: flow_graph.connect(sources[i], sinks[i]); @@ -89,7 +89,7 @@ class Connection(Element): def get_enabled(self): """ Get the enabled state of this connection. - + Returns: true if source and sink blocks are enabled """ @@ -108,7 +108,7 @@ class Connection(Element): def export_data(self): """ Export this connection's info. - + Returns: a nested data odict """ |