Browse Source

fix the spelling error in utils/log.py

tags/v1.2.0-rc1
shenghong96 4 years ago
parent
commit
9b2690f40b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindinsight/utils/log.py

+ 1
- 1
mindinsight/utils/log.py View File

@@ -47,7 +47,7 @@ class MultiCompatibleRotatingFileHandler(RotatingFileHandler):
self.stream.close() self.stream.close()
self.stream = None 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: with open(self.baseFilename, 'a') as file_pointer:
fcntl.lockf(file_pointer.fileno(), fcntl.LOCK_EX) fcntl.lockf(file_pointer.fileno(), fcntl.LOCK_EX)




Loading…
Cancel
Save