From d56efa9c4bca3ec5acc74d3f94be50ec5e7a1896 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Sat, 4 May 2019 22:49:45 +0200 Subject: [PATCH] Clarify why we use chmod instead of mkfifo's mode parameter --- pipe_io_server/pipe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipe_io_server/pipe.py b/pipe_io_server/pipe.py index f47ba34..eb021ae 100644 --- a/pipe_io_server/pipe.py +++ b/pipe_io_server/pipe.py @@ -9,7 +9,7 @@ class Pipe: def recreate(self, permissions): self.remove() mkfifo(self.path) - chmod(self.path, permissions) + chmod(self.path, permissions) # use chmod to ignore umask def remove(self): if exists(self.path):