Skip to content

Commit

Permalink
Merge pull request #578 from GavinHuttley/develop
Browse files Browse the repository at this point in the history
DOC: fixed bug in conf.py
  • Loading branch information
GavinHuttley committed Mar 16, 2020
2 parents bc0dbcb + f12a1d5 commit 23ea441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def exec_command(cmnd):
)
out, err = proc.communicate()
if proc.returncode != 0:
user = os.environ["USER"]
user = os.environ.get("USER", None)
raise SystemError(proc.returncode, f"FAILED: {cmnd}\n{err} for '{user}'")

if out is not None:
Expand Down

0 comments on commit 23ea441

Please sign in to comment.