mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-12 06:33:59 +00:00
comments
This commit is contained in:
@@ -120,7 +120,7 @@ class Comparator:
|
|||||||
ret = []
|
ret = []
|
||||||
comp = filecmp.dircmp(local_path, deployed_path)
|
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}')
|
self.log.dbg(f'files only in deployed dir: {comp.left_only}')
|
||||||
for i in comp.left_only:
|
for i in comp.left_only:
|
||||||
abspath1 = os.path.join(local_path, i)
|
abspath1 = os.path.join(local_path, i)
|
||||||
@@ -135,7 +135,7 @@ class Comparator:
|
|||||||
continue
|
continue
|
||||||
ret.append(f'=> \"{i}\" does not exist on destination\n')
|
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}')
|
self.log.dbg(f'files only in dotpath dir: {comp.right_only}')
|
||||||
for i in comp.right_only:
|
for i in comp.right_only:
|
||||||
abspath1 = os.path.join(local_path, i)
|
abspath1 = os.path.join(local_path, i)
|
||||||
|
|||||||
Reference in New Issue
Block a user