Commit a765cffe authored by Petr Pacner's avatar Petr Pacner

test of hello logging in the command function

parent cceb4c24
...@@ -99,7 +99,6 @@ def check_windows_tools(): ...@@ -99,7 +99,6 @@ def check_windows_tools():
def check_windows_commands(): def check_windows_commands():
"""Check if we are using windows commands (del/type) and not a unix shell. """Check if we are using windows commands (del/type) and not a unix shell.
False on cygwin""" False on cygwin"""
logging.debug("hello")
if commands_os == 'auto': if commands_os == 'auto':
return platform.system() == 'Windows' return platform.system() == 'Windows'
else: else:
...@@ -108,6 +107,7 @@ def check_windows_commands(): ...@@ -108,6 +107,7 @@ def check_windows_commands():
def del_command(): def del_command():
"""Get a string with the O.S. specific delete command""" """Get a string with the O.S. specific delete command"""
logging.debug("delete_command")
if check_windows_commands(): if check_windows_commands():
return "del /s /q /f" return "del /s /q /f"
else: else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment