Make RBClient cookie_file optional
Review Request #3913 — Created Feb. 25, 2013 and submitted — Latest diff uploaded
Make RBClient cookie_file optional If a cookie_file is not provided it will now default to '~/.rbtools-cookies'. Also, if we default to '~/.rbtools-cookies' and it does not exist, we will attempt to copy the old '~/.post-review-cookies.txt' file over.
Accessed the API using default and provided cookie files, observed proper behaviour.
Diff Revision 4
This is not the most recent revision of the diff. The latest diff is revision 5. See what's changed.
orig
1
2
3
4
5
rbtools/api/request.py |
---|
rbtools/api/transport/sync.py |
---|
rbtools/commands/__init__.py |
---|