Add logging for cleanup

This commit is contained in:
Labrys of Knossos 2018-12-19 19:40:13 -05:00
commit 2fce0e40c3
2 changed files with 3 additions and 2 deletions

View file

@ -87,7 +87,7 @@ class CheckVersion(object):
@staticmethod
def clean():
# Clean libs
libs.util.git_clean(
result = libs.util.git_clean(
remove_directories=True,
force=True,
ignore_rules=True,
@ -96,6 +96,7 @@ class CheckVersion(object):
core.SOURCE_ROOT,
],
)
logger.debug(result)
class UpdateManager(object):

View file

@ -86,4 +86,4 @@ def git_clean(remove_directories=False, force=False, dry_run=False, interactive=
except AttributeError:
pass
command.extend(paths)
subprocess.call(command)
return subprocess.check_output(command)