Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 3535 by [email protected]: DeprecationWarning on rb-site
manage site cleanup
http://code.google.com/p/reviewboard/issues/detail?id=3535
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)
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.