[Scons-users] Issue 2429

Bill Deegan bill at baddogconsulting.com
Sat Jan 2 02:14:06 EST 2016


Adarsh,

Probably a better question for the scons-dev mailing list.
See the API docs.
http://scons.org/doc/production/HTML/scons-api/index.html

Not sure why you would be looking at the URL you included..

As far as octal and/or string parameters, you'd likely check if the
parameter was a number or a string and if a string, then have a dictionary
mapping the string value to the corresponding octal value(s).


-Bill

On Fri, Jan 1, 2016 at 6:53 PM, Adarsh Sanjeev <adarshsanjeev at gmail.com>
wrote:

> Hey,
> How does one edit
>
> def chmod_strfunc(dest, mode):
>     return 'Chmod(%s, 0%o)' % (get_paths_str(dest), mode)
>
> Chmod = ActionFactory(chmod_func, chmod_strfunc)
>
> to include octal and string as possible parameters? There is no
>  documentation at actionfactory.sourceforge.net.
>
> --
> Adarsh Sanjeev
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160101/11a64f8a/attachment.html>


More information about the Scons-users mailing list