Merge pull request #2465 from minrk/log-typo

typo in log command
This commit is contained in:
Thomas Kluyver 2017-05-02 14:56:30 +01:00 committed by GitHub
commit 8a1ece4577

View File

@ -281,7 +281,7 @@ class FileContentsManager(FileManagerMixin, ContentsManager):
if e.errno == errno.ENOENT:
self.log.warning("%s doesn't exist", os_path)
else:
self.log.warning("Error stat-ing %s: %s", (os_path, e))
self.log.warning("Error stat-ing %s: %s", os_path, e)
continue
if not stat.S_ISREG(st.st_mode) and not stat.S_ISDIR(st.st_mode):