fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] Latest build: set() does not take keyword arguments


From: Jesse Jaggars
Subject: Re: [Fab-user] Latest build: set() does not take keyword arguments
Date: Fri, 19 Dec 2008 11:53:16 -0600

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 <address@hidden> 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
> address@hidden
> (315) 719-2047
>
> _______________________________________________
> Fab-user mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/fab-user
>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]