Skip to content

Commit

Permalink
Added comment for self check in set_output
Browse files Browse the repository at this point in the history
  • Loading branch information
rexissimus committed Jun 17, 2014
1 parent 64ca03c commit 3b7065e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vistrails/core/modules/vistrails_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ def set_output(self, port_name, value):
:param value: the value to be assigned to the port
"""
# FIXME why do we check value not self?
# skip self because this method is called by its constructor
if value is not self:
from vistrails.core.modules.basic_modules import Iterator
if (self.in_pipeline and
Expand Down

0 comments on commit 3b7065e

Please sign in to comment.