diff --git a/mindinsight/utils/log.py b/mindinsight/utils/log.py index b7ec8e83..6c09fb95 100644 --- a/mindinsight/utils/log.py +++ b/mindinsight/utils/log.py @@ -47,7 +47,7 @@ class MultiCompatibleRotatingFileHandler(RotatingFileHandler): self.stream.close() self.stream = None - # Attain an exclusive lock with bloking mode by `fcntl` module. + # Attain an exclusive lock with blocking mode by `fcntl` module. with open(self.baseFilename, 'a') as file_pointer: fcntl.lockf(file_pointer.fileno(), fcntl.LOCK_EX)