fab-user
[Top][All Lists]
Advanced

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

[Fab-user] Problem using put() in latest revision


From: Armon Dadgar
Subject: [Fab-user] Problem using put() in latest revision
Date: Sun, 12 Dec 2010 23:56:58 -0800

Hey,

I cloned the latest version of Fabric from git last night, and I've been running into some issues using the put operation.

I have a task to copy over SSH configs/keys, defined as such:
 26 def setup_ssh():
 27     "Setup the ssh hosts file and keys"
 28     put("config/known_hosts", "~/.ssh/known_hosts", mode=0700)
 29     put("config/ssh_hosts", "~/.ssh/config", mode=0700)
 30     put("config/id_rsa", "~/.ssh/id_rsa", mode=0700)
 31     put("config/id_rsa.pub", "~/.ssh/id_rsa.pub", mode=0700)

However, whenever this task is run, it fails on the first put with:

Error: The put operation failed on xxxxx.dreamhost.com:
    unsupported operand type(s) for &: 'NoneType' and 'int'

Any ideas on how to resolve this would be appreciated. Thanks.

Also, is there a way to suppress this warning:
/Library/Python/2.6/site-packages/pycrypto-2.3-py2.6-macosx-10.6-universal.egg/Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This application uses RandomPool, which is BROKEN in older releases.  See http://www.pycrypto.org/randpool-broken

Best Regards,

Armon Dadgar



reply via email to

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