daemon: updated core.emulator to avoid using deprecated type hinting
This commit is contained in:
parent
4c222d1a7a
commit
8abf2561bf
7 changed files with 63 additions and 63 deletions
|
@ -129,7 +129,7 @@ class HookManager:
|
|||
cwd=directory,
|
||||
env=env,
|
||||
)
|
||||
except (IOError, subprocess.CalledProcessError) as e:
|
||||
except (OSError, subprocess.CalledProcessError) as e:
|
||||
raise CoreError(
|
||||
f"failure running state({state.name}) "
|
||||
f"hook script({file_name}): {e}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue