[New-bugs-announce] [issue31920] pygettext ignores directories as inputfile argument
Oleg Krasnikov
report at bugs.python.org
Thu Nov 2 04:37:20 EDT 2017
New submission from Oleg Krasnikov <a.insolite at gmail.com>:
This happens because pygettext's `getFilesForName` calls `os.walk` as if it was `os.path.walk`. But the `walk` function has changed signature when moved from `os.path` to `os`. So now `_visit_pyfiles` is passed to `walk` as `topdown` argument which is obviously wrong and therefore `_visit_pyfiles` is never called.
----------
components: Demos and Tools
messages: 305406
nosy: Oleg Krasnikov
priority: normal
severity: normal
status: open
title: pygettext ignores directories as inputfile argument
type: behavior
versions: Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31920>
_______________________________________
More information about the New-bugs-announce
mailing list