1 |
On Thu, 26 Nov 2015 23:30:08 +0100 |
2 |
Michał Górny <mgorny@g.o> wrote: |
3 |
|
4 |
> Skip empty files when traversing directories in python_fix_shebangs. |
5 |
> This prevents read from failing on them, and avoids opening them |
6 |
> unnecessarily. |
7 |
> --- |
8 |
> eclass/python-utils-r1.eclass | 9 ++++++--- |
9 |
> 1 file changed, 6 insertions(+), 3 deletions(-) |
10 |
|
11 |
I'm withdrawing this one. 'read' is equally unhappy with empty files |
12 |
and files having no newline character (i.e. very ugly files), so no |
13 |
||die for it. |
14 |
|
15 |
-- |
16 |
Best regards, |
17 |
Michał Górny |
18 |
<http://dev.gentoo.org/~mgorny/> |