From d1bfb247213b410325442638c8f0e769e4db2722 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Thu, 28 Dec 2023 09:46:00 +0100 Subject: [PATCH] comments --- dotdrop/comparator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotdrop/comparator.py b/dotdrop/comparator.py index 43f5dc1..c58c8fd 100644 --- a/dotdrop/comparator.py +++ b/dotdrop/comparator.py @@ -120,7 +120,7 @@ class Comparator: ret = [] comp = filecmp.dircmp(local_path, deployed_path) - # handle files only in deployed dir + # handle files and subdirs only in deployed dir self.log.dbg(f'files only in deployed dir: {comp.left_only}') for i in comp.left_only: abspath1 = os.path.join(local_path, i) @@ -135,7 +135,7 @@ class Comparator: continue ret.append(f'=> \"{i}\" does not exist on destination\n') - # handle files only in dotpath dir + # handle files and subdirs only in dotpath dir self.log.dbg(f'files only in dotpath dir: {comp.right_only}') for i in comp.right_only: abspath1 = os.path.join(local_path, i)