fabric: fab command

2021-06-02 Thread jayshankar nair via Python-list
Hi, I am unable to find the package for the below module. The error shows when i run the command fab(fabric). import tools.fab.dev_utils as dev_utilsImportError: No module named tools.fab.dev_utils Please let me know which package i have to install. Thanks,Jayshankar -- https://mail.python.org/

openstack connection

2018-07-03 Thread jayshankar nair via Python-list
Hi, I am trying to establish a connection to openstack cloud . I am able to establish a connection with the following statement from openstack import connectionconn = connection.Connection(auth_url="http://192.168.0.19:5000/v3",                      project_name="admin",username="admin",     

condition.acquire vs lock.acquire

2018-03-27 Thread jayshankar nair via Python-list
Hi, Is condition.acquire(threading.Condition()) similar to lock.acquire(threading.Lock). Does both of get access to the lock. Can i use condition.wait,notify with lock.acquire or i have to use condition.wait, notify with condition.acquire. cond.acquire()  // can i replace with lock.acquire    w