[gentoo-dev] [PATCH python-utils-r1] Move python_fix_shebang to python-utils-r1 and rewrite it clean.

2014-05-20 Thread Michał Górny
It serves both as public shebang fixing function and replacement of _python_rewrite_shebang internal function. For the sake of having common code and consistent behavior. Notes on the 'new' function: 1. takes a list of files and/or directories to fix. Directories are processed recursively, 2. fi

[gentoo-dev] Re: [PATCH python-utils-r1] Move python_fix_shebang to python-utils-r1 and rewrite it clean.

2014-05-20 Thread Mike Gilbert
On Tue, May 20, 2014 at 2:19 PM, Michał Górny wrote: > It serves both as public shebang fixing function and replacement of > _python_rewrite_shebang internal function. For the sake of having common > code and consistent behavior. > > Notes on the 'new' function: > > 1. takes a list of files and/or

Re: [gentoo-dev] Re: [PATCH python-utils-r1] Move python_fix_shebang to python-utils-r1 and rewrite it clean.

2014-05-20 Thread Michał Górny
Dnia 2014-05-20, o godz. 14:27:04 Mike Gilbert napisał(a): > On Tue, May 20, 2014 at 2:19 PM, Michał Górny wrote: > > It serves both as public shebang fixing function and replacement of > > _python_rewrite_shebang internal function. For the sake of having common > > code and consistent behavior.