Permalink
Browse files

912707: Remove a use of the deprecated hasNow() function.

  • Loading branch information...
1 parent 25ff66e commit 5557f0bec9b582582a51d5207712c48c00d03d9d @bkearney bkearney committed Feb 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/rhsm_d.py
View
@@ -58,7 +58,7 @@ def in_warning_period(sorter):
valid_range = entitlement.valid_range
warning_range = certificate.DateRange(
valid_range.end() - warning_period, valid_range.end())
- if warning_range.hasNow():
+ if warning_range.has_now():
return True
return False

0 comments on commit 5557f0b

Please sign in to comment.