Skip to content

Commit

Permalink
Fix change_connection by conn -> old_conn
Browse files Browse the repository at this point in the history
Not sure this code path is ever hit currently since we have factored
everything to add/delete, but keeping in just in case
  • Loading branch information
dakoop committed Sep 29, 2014
1 parent 3f02816 commit c46ef1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vistrails/core/vistrail/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ def change_connection(self, old_id, c, *args):
old_conn.id)
if self.graph.out_degree(old_conn.sourceId) < 1:
self.modules[old_conn.sourceId].connected_output_ports.discard(
conn.source.name) # FIXME : conn is c? old_conn?
old_conn.source.name)
if self.graph.in_degree(old_conn.destinationId) < 1:
connected_input_ports = \
self.modules[old_conn.destinationId].connected_input_ports
Expand Down

0 comments on commit c46ef1f

Please sign in to comment.