Red Hat Bugzilla – Bug 912707
rhsmd Calling Deprecated hasNow Function
Last modified: 2013-04-30 15:27:02 EDT
Some functionality was deprecated in python-rhsm, at the same time we replaced it's usage in subscription-manager but one call was missed in rhsmd:
/usr/lib64/python2.4/site-packages/rhsm/certificate.py:123: DeprecationWarning: Call to deprecated function: hasNow
This should be updated to the new certificate2 module, I believe the method would be is_valid.
Author: Bryan Kearney <email@example.com>
Date: Wed Feb 20 14:39:33 2013 -0500
912707: Remove a use of the deprecated hasNow() function.
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release. Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products. This request is not yet committed for inclusion in
# rpm -qa | egrep "subscription-manager|python-rhsm"
# /usr/libexec/rhsmd -s
No longer throws any warning.
*** This bug has been marked as a duplicate of bug 913118 ***