Skip to content

Commit bc3e147

Browse files

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

readthedocs/doc_builder/python_environments.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,8 @@ def _append_core_requirements(self):
615615

616616
for item in dependencies:
617617
if isinstance(item, dict) and 'pip' in item:
618-
pip_requirements.extend(item.get('pip', []))
618+
# NOTE: pip can be ``None``
619+
pip_requirements.extend(item.get('pip') or [])
619620
dependencies.remove(item)
620621
break
621622

0 commit comments

Comments
 (0)