Minor change.
Whitespace.
print("Warning: ...") -> log.warning("...")
Don't treat KeyboardInterrupt like an error.