3535: DeprecationWarning on rb-site manage site cleanup

Guillaume
Sept. 5, 2014
What version are you running?
ReviewBoard 2.0.5 / Django-1.6.5 / py-2.6

What's the URL of the page containing the problem?
cron task in cron.conf

What steps will reproduce the problem?
1. run rb-site manage /var/www/yourSite cleanup
2. return :
/usr/lib/python2.6/site-packages/Django-1.6.5-py2.6.egg/django/core/management/commands/cleanup.py:10: DeprecationWarning: The `cleanup` command has been deprecated in favor of `clearsessions`.
3. So in cron task 
# Clear expired sessions once a day at 2am
0 2 * * * "/usr/bin/python" "/usr/bin/rb-site" manage "/var/www/reviewboard-lab" cleanup
does have the same issue

What is the expected output? What do you see instead?
use clearsessions instead of cleanup

What operating system are you using? What browser?
CentOs

Please provide any additional information below.
This warning was display since Django-1.5.x (https://github.com/django/django/commit/b760503a270484679ad0e06b73e3ed417a113221)
david
#1 david
  • +EasyFix
david
#2 david
Fixed in release-2.0.x (e081ae3). Thanks!
  • +Fixed