Hi Dejan
I use latest crmsh(ff28b19bdb1d) and it issues FutureWarning of python
when using comment(#).
config.crm file
--------------------
# Comment
property \
no-quorum-policy="ignore" \
stonith-enabled="false" \
startup-fencing="false" \
stonith-timeout="20s"
--------------------
-------
# crm configure load update config.crm
/usr/lib64/python2.7/site-packages/crmsh/cibconfig.py:917:
FutureWarning: The behavior of this method will change in future
versions. Use specific 'len(elem)' or 'elem is not None' test instead.
if comments and node:
-------
I use python 2.7.3 on Fedora 18.
Python 2.6.6 issues same warning on RHEL6.
Thanks,
Takatoshi MATSUO
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/