diff --git a/python_modules/infra.py b/python_modules/infra.py index 7e9093c9..b0e268ae 100644 --- a/python_modules/infra.py +++ b/python_modules/infra.py @@ -266,9 +266,7 @@ def icons_themes(): src_q = collections.deque(src_paths) des_q = collections.deque(des_paths) size_q = len(src_q) - def _logpath(path, names): - logging.info('Working in %s' % path) - return [] # nothing will be ignored + for size_length in range(size_q): source = src_q.popleft() @@ -277,6 +275,9 @@ def icons_themes(): HOME_FOLDER + WPCHROOT + des, dirs_exist_ok = True, ignore=_logpath ) + def _logpath(path, names): + logging.info('Working in %s' % path) + return [] # nothing will be ignored