Yup, that's correct, set()/get() are gone and instead you just do
attribute assignment/lookup on a 'config' object.

When in doubt, try checking the docs in the repository, as Christian's
usually pretty good about updating those to be consistent with the
code at that revision.

-Jeff

On Fri, Dec 19, 2008 at 12:53 PM, Jesse Jaggars <[email protected]> wrote:
> I think (I'm not entirely sure) that they stopped shadowing the set()
> builtin method.
>
> I think instead of doing set( foo = bar) you might be able to do
> config.foo = bar.
>
>
>
> On Fri, Dec 19, 2008 at 11:42 AM, Nick Sergeant <[email protected]> wrote:
>> Hey guys - I just recently pulled the latest from git.  I assumed there
>> would be some changes to code, and this is the first that I've found:
>> Source code:
>> set(
>>     fab_user = 'blah',
>>     fab_host = config.fab_hosts[0],
>>     fab_port = '35000',
>>     prod_dir = '/home/user/projects/project-dir'
>> )
>> Error:
>> ...
>>     prod_dir = '/home/admin/django-projects/snipt'
>> TypeError: set() does not take keyword arguments
>> Thanks!
>> (sorry for the double post - posted by wrong email earlier)
>> Nick Sergeant
>> www.nicksergeant.com
>> [email protected]
>> (315) 719-2047
>>
>> _______________________________________________
>> Fab-user mailing list
>> [email protected]
>> http://lists.nongnu.org/mailman/listinfo/fab-user
>>
>>
>
>
> _______________________________________________
> Fab-user mailing list
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/fab-user
>


_______________________________________________
Fab-user mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to