New submission from Marian Horban: Method WatchedFileHandler::emit() makes 2 things: 1. reopens log file, 2. emits record. Sometimes user wants to reopen file immediately after some action without emitting. Code that reopens file must be moved to separate method to avoid copy-pasting code in programs that use this functionality. Patch is provided.
---------- files: add_reopen_file.patch keywords: patch messages: 248765 nosy: Marian Horban priority: normal severity: normal status: open title: Add method reopenFile() in WatchedFileHandler class type: enhancement Added file: http://bugs.python.org/file40201/add_reopen_file.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24884> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com