Changeset - bbd96bdf8372
default
0
1
0
Grafted from: 911d2c5f8ca1
scm: make sure __get_repo always returns something
Avoid pytype complaint:
File ".../kallithea/model/scm.py", line 438, in get_nodes: No attribute 'scm_instance' on None [attribute-error]
In Optional[Any]
Avoid invoking __get_repo with None as parameter when creating repos.
Avoid pytype complaint:
File ".../kallithea/model/scm.py", line 438, in get_nodes: No attribute 'scm_instance' on None [attribute-error]
In Optional[Any]
Avoid invoking __get_repo with None as parameter when creating repos.
1 file changed with 3 insertions and 4 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)