From 3d22b7beeb8a5be4ae953a7b444da742c21f1473 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Mon, 7 Aug 2023 23:26:06 +0200 Subject: [PATCH] chmod printing --- dotdrop/cfg_yaml.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dotdrop/cfg_yaml.py b/dotdrop/cfg_yaml.py index 27d821c..f77c52b 100644 --- a/dotdrop/cfg_yaml.py +++ b/dotdrop/cfg_yaml.py @@ -436,7 +436,8 @@ class CfgYaml: self._dbg(f'new dotfile src: {src}') self._dbg(f'new dotfile dst: {dst}') self._dbg(f'new dotfile link: {link}') - self._dbg(f'new dotfile chmod: {chmod}') + if chmod: + self._dbg(f'new dotfile chmod: {chmod:o}') self._dbg(f'new dotfile trans_r: {trans_r_key}') self._dbg(f'new dotfile trans_w: {trans_w_key}')