mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 12:59:36 -07:00
Add logging for cleanup
This commit is contained in:
parent
70acfc22e7
commit
2fce0e40c3
2 changed files with 3 additions and 2 deletions
|
@ -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):
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue