We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TypeError: 'NoneType' object is not iterable
1 parent c44f1f7 commit 3b9d1faCopy full SHA for 3b9d1fa
build_docs.py
@@ -248,7 +248,7 @@ def run_with_logging(cmd, cwd=None):
248
logging.debug("Run: %s", shlex.join(cmd))
249
with subprocess.Popen(cmd, cwd=cwd, encoding="utf-8") as p:
250
try:
251
- for line in p.stdout:
+ for line in (p.stdout or ()):
252
logging.debug(">>>> %s", line.rstrip())
253
except:
254
p.kill()
0 commit comments