mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-07 11:03:31 +00:00
add more logs
This commit is contained in:
@@ -180,9 +180,11 @@ class Updater:
|
||||
return False
|
||||
|
||||
def _mirror_rights(self, src, dst):
|
||||
srcr = get_file_perm(src)
|
||||
dstr = get_file_perm(dst)
|
||||
if srcr == dstr:
|
||||
return
|
||||
if self.debug:
|
||||
srcr = get_file_perm(src)
|
||||
dstr = get_file_perm(dst)
|
||||
msg = 'copy rights from {} ({:o}) to {} ({:o})'
|
||||
self.log.dbg(msg.format(src, srcr, dst, dstr))
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user