Skip to content

Commit

Permalink
STYLE: Remove pass through return of read-only values.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjmjohnson committed Oct 27, 2020
1 parent 672d9cd commit 5e1c7c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Wrapping/Generators/Python/itk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ def _get_lazy_attributes(local_lazy_attributes, l_module, l_data):
if "snake_case_functions" in l_data:
for function in l_data["snake_case_functions"]:
local_lazy_attributes.setdefault(function, []).append(l_module)
return l_module, l_data

import itkBase
import itkConfig
Expand Down Expand Up @@ -93,7 +92,7 @@ def _get_lazy_attributes(local_lazy_attributes, l_module, l_data):
# Populate itk.ITKModuleName
for module, data in itkBase.itk_base_global_module_data.items():
attributes = {}
module, data = _get_lazy_attributes(attributes, module, data)
_get_lazy_attributes(attributes, module, data)
itk_module = itkLazy.LazyITKModule(module, attributes)
setattr(this_module, module, itk_module)

Expand Down

0 comments on commit 5e1c7c4

Please sign in to comment.