Moves printing to the open_directory function. I would have preferred it to not be in control of printing, but the alternative is refactoring it to either returning a result type or raising exception when no display is supported. Both are overkill since we likely will never call the function outside of open.
Moves printing to the
open_directory
function. I would have preferred it to not be in control of printing, but the alternative is refactoring it to either returning a result type or raising exception when no display is supported. Both are overkill since we likely will never call the function outside ofopen
.