File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ def config_path() -> str:
45
45
def chown (path ):
46
46
"""Set the owner of a path to the user."""
47
47
try :
48
+ logger .debug ('Chown "%s", "%s"' , path , UserUtils .user )
48
49
shutil .chown (path , user = UserUtils .user , group = UserUtils .user )
49
50
except LookupError :
50
51
# the users group was unknown in one case for whatever reason
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ def __init__(self, path):
67
67
PathUtils .mkdir (os .path .dirname (path ))
68
68
69
69
if not os .path .exists (paths [0 ]):
70
- logger .debug (' Creating new pipe for " %s"' , path )
70
+ logger .debug (" Creating new pipes %s", paths )
71
71
# The fd the link points to is closed, or none ever existed
72
72
# If there is a link, remove it.
73
73
if os .path .islink (paths [0 ]):
@@ -84,7 +84,7 @@ def __init__(self, path):
84
84
os .symlink (f"{ fds_dir } { self ._fds [0 ]} " , paths [0 ])
85
85
os .symlink (f"{ fds_dir } { self ._fds [1 ]} " , paths [1 ])
86
86
else :
87
- logger .debug (' Using existing pipe for " %s"' , path )
87
+ logger .debug (" Using existing pipes %s", paths )
88
88
89
89
# thanks to os.O_NONBLOCK, readline will return b'' when there
90
90
# is nothing to read
You can’t perform that action at this time.
0 commit comments