Chain throws

This commit is contained in:
Juhani Krekelä 2018-09-01 21:43:35 +03:00
parent b40f61b0b5
commit 44bc940675
1 changed files with 2 additions and 2 deletions

View File

@ -48,8 +48,8 @@ def main():
try: try:
homedir = os.environ['HOME'] homedir = os.environ['HOME']
except KeyError: except KeyError as err:
raise KeyError('$HOME is not set') raise KeyError('$HOME is not set') from err
# The input file # The input file
# Default to ~/.ssh/known_hosts # Default to ~/.ssh/known_hosts