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

_______________________________________________
Fab-user mailing list
Fab-user@nongnu.org
http://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to