mirror of
https://github.com/datafolklabs/cement.git
synced 2026-02-06 16:16:47 +00:00
chore: resolve mypy errors
This commit is contained in:
parent
ac887016c4
commit
12e4e62fe9
@ -126,7 +126,7 @@ class Environment(object):
|
||||
os._exit(os.EX_OK)
|
||||
except OSError as e:
|
||||
sys.stderr.write("Fork #1 failed: (%d) %s\n" %
|
||||
(e.errno, e.strerror))
|
||||
(e.errno, e.strerror)) # type: ignore
|
||||
sys.exit(1)
|
||||
|
||||
# Decouple from parent environment.
|
||||
@ -142,7 +142,7 @@ class Environment(object):
|
||||
os._exit(os.EX_OK)
|
||||
except OSError as e:
|
||||
sys.stderr.write("Fork #2 failed: (%d) %s\n" %
|
||||
(e.errno, e.strerror))
|
||||
(e.errno, e.strerror)) # type: ignore
|
||||
sys.exit(1)
|
||||
|
||||
# Redirect standard file descriptors.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user