Skip to content

Commit 6f8af6c

Browse files
Thomas Rabaixrande
authored andcommitted
fix(recusion): fix wrong indetation for the return
1 parent a67ebf3 commit 6f8af6c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
all: build upload
1+
all: build
22

3-
build:
3+
build: clean
44
pip install build twine
55
rm -rf dist/
66
python -m build

ioc/component.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ def walk_and_modify(model):
121121

122122
setattr(model, field, parameter)
123123

124-
return model
124+
return model
125125

126126
return walk_and_modify(parameter)
127-
127+
128128
if isinstance(parameter, (tuple)):
129129
parameter = list(parameter)
130130
for key in get_keys(parameter):

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "ioc"
7-
version = "0.1.0"
7+
version = "0.1.1"
88
description = "A small dependency injection container based on Symfony2 Dependency Component"
99
readme = "README.md"
1010
license = "Apache-2.0"

0 commit comments

Comments
 (0)