[Top][All Lists]

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

[Fab-user] Bug in multiline append

From: Jorge Vargas
Subject: [Fab-user] Bug in multiline append
Date: Thu, 21 May 2009 21:48:45 -0400


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
    \" \"/home/mae/supervisord.conf\""

and the whole file gets printed to out

work around use several call to append :)

reply via email to

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