fab-user
[Top][All Lists]
Advanced

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

Re: [Fab-user] abort doubles the output message


From: Felix Almeida
Subject: Re: [Fab-user] abort doubles the output message
Date: Fri, 13 Mar 2015 19:19:34 +0000

Perhaps the line #53 in “site-packages/fabric/utils.py” file should be changed from:

 

        sys.exit(msg)

 

To:

 

        sys.exit(1)

 

 

From: Felix Almeida
Sent: Friday, March 13, 2015 3:11 PM
To: address@hidden
Subject: abort doubles the output message

 

Hi all,

 

  Please do you know why “abort” (or maybe “fab”) is doubling the output? Am I doing something wrong?

 

  If, for instance, I call the following program by typing “fab test” on the command line:

from fabric.api import abort, task

 

@task()

def test():

    abort("end")

 

  I got this output:

Fatal error: end

 

Aborting.

end

 

  Why is there an extra “end” at the end?

  I’ve started noticing this behavior after I upgrade fabric to version 1.10.1.

 

 

Thank you,

Felix

 






This communication is confidential. We only send and receive email on the basis of the terms set out at www.rogers.com/web/content/emailnotice



Ce message est confidentiel. Notre transmission et réception de courriels se fait strictement suivant les modalités énoncées dans l’avis publié à www.rogers.com/aviscourriel

reply via email to

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