mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-09 01:24:16 +00:00
refactor ignore and debug logs
This commit is contained in:
@@ -160,7 +160,8 @@ class Updater:
|
||||
return tmp
|
||||
|
||||
def _is_template(self, path):
|
||||
if not Templategen.is_template(path, ignore=self.ignores):
|
||||
if not Templategen.is_template(path, ignore=self.ignores,
|
||||
debug=self.debug):
|
||||
self.log.dbg('{} is NO template'.format(path))
|
||||
return False
|
||||
self.log.warn('{} uses template, update manually'.format(path))
|
||||
|
||||
Reference in New Issue
Block a user