Hi Dejan Thank you for your quick response. I can inhibit warnings.
Regards, Takatoshi MATSUO 2013/6/21 Dejan Muhamedagic <[email protected]>: > Hi Takatoshi-san, > > On Fri, Jun 21, 2013 at 04:41:39PM +0900, Takatoshi MATSUO wrote: >> 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: > > Fixed now. And some more. Hope there won't be any more in Future. > > Cheers, > > Dejan > >> ------- >> >> 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/ > _______________________________________________________ > Linux-HA-Dev: [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
