[Scons-dev] Issue 2494

Adarsh Sanjeev adarshsanjeev at gmail.com
Sat Jan 2 08:09:17 EST 2016


Hey,
I am a beginner to python, but I understand what needs to be done. I have
already done the main part of the issue, I just need to know if I can allow
two types of parameters for Chmod and how, or change the octals to string
in the test.

On Sat, Jan 2, 2016 at 5:28 PM, Dirk Bächle <tshortik at gmx.de> wrote:

> Hi Adarsh,
>
> On 02.01.2016 09:12, Adarsh Sanjeev wrote:
>
>> Hey,
>> I am currently working on Issue 2494. I have run into a problem where I
>> have to modify
>>
>> def chmod_strfunc(dest, mode):
>>      return 'Chmod(%s, 0%o)' % (get_paths_str(dest), mode)
>>
>> Chmod = ActionFactory(chmod_func, chmod_strfunc)
>>
>> to allow strings, as well as octal values for mode. Could someone help me
>> do this, as I am unsure how to combine both?
>>
>>
> if you are not only a beginner at OpenSource development, but also have no
> experience with Python (or programming in general), you should consider
> taking on a "documentation" bug first instead (see
> https://openhatch.org/search/?contribution_type=documentation&q=&project=SCons
> for example).
> It looks to me as if this issue 2494 is more complicated than you can
> handle at the moment.
>
> Best regards,
>
> Dirk
>
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>



-- 
Adarsh Sanjeev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20160102/5e38be35/attachment.html>


More information about the Scons-dev mailing list