Skip to content

Commit

Permalink
Remove commented out redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
Robadob committed Oct 13, 2023
1 parent 2a724a2 commit b1d2f3a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions swig/python/codegen/codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,13 +401,7 @@ def dispatchGraphLoop(self, tree):
self.fill("for (const auto& ")
self.dispatch(tree.target)
self.write(" : ")
# if simple message iterator
#if isinstance(tree.iter, ast.Name):
# if not tree.iter.id == self._input_message_var:
# self.RaiseError(t, f"Message input loop requires use of '{self._input_message_var}' as iterator.")
# # write with prefix
# self.write(tree.iter.id)
# if it is a call then handle the different cases
# graph iterator only current has calls
if isinstance(tree.iter, ast.Call):
self.dispatchGraphIteratorCall(tree.iter)
#otherwise not supported
Expand Down

0 comments on commit b1d2f3a

Please sign in to comment.