[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fab-user] Bug in multiline append
From: |
Jeff Forcier |
Subject: |
Re: [Fab-user] Bug in multiline append |
Date: |
Thu, 21 May 2009 22:10:41 -0400 |
Yea, I've never used append() on more than one line at a time. Could
easily upgrade it to take a list of lines which would result in
several internal calls; would that work for you?
Given that it's simply passing through to shell mechanisms, true
multiline could get tricky (though honestly I'm not sure why it
doesn't work right off, I've done that in an actual shell before
without problems).
-Jeff
On Thu, May 21, 2009 at 9:48 PM, Jorge Vargas <address@hidden> wrote:
> Hi,
>
> It seems that the following code fails to run on the server.
>
> def test_append():
> env.home = path('/home/mae')
> append('''mae was here
> multiline fails
> ''', env.home / 'supervisord.conf')
>
>
> This is the debug output
> run: /bin/bash -l -c "egrep \"^mae was here
> sdds
> \" \"/home/mae/supervisord.conf\""
>
> and the whole file gets printed to out
>
> work around use several call to append :)
>
>
> _______________________________________________
> Fab-user mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/fab-user
>
- [Fab-user] Bug in multiline append, Jorge Vargas, 2009/05/21
- Re: [Fab-user] Bug in multiline append,
Jeff Forcier <=
- Re: [Fab-user] Bug in multiline append, Jorge Vargas, 2009/05/21
- Re: [Fab-user] Bug in multiline append, Jorge Vargas, 2009/05/21
- Re: [Fab-user] Bug in multiline append, Jeff Forcier, 2009/05/22
- Re: [Fab-user] Bug in multiline append, Christian Vest Hansen, 2009/05/22
- Re: [Fab-user] Bug in multiline append, Jeff Forcier, 2009/05/22
- Re: [Fab-user] Bug in multiline append, Jorge Vargas, 2009/05/22
- Re: [Fab-user] Bug in multiline append, Jeff Forcier, 2009/05/22
- Re: [Fab-user] Bug in multiline append, Jeff Forcier, 2009/05/24
- Re: [Fab-user] Bug in multiline append, Jorge Vargas, 2009/05/28