RBTools API: Fix root template URLs and construction of list items
Review Request #3318 — Created Aug. 30, 2012 and submitted — Latest diff uploaded
The regex for using the templates in the root resource was failing when the template contained more than one variable. The new regex matches properly. A blank URL was being passed to item resources constructed from a list resource. This caused issues with some of the custom methods in resource specific base classes. A proper URL will now be guessed from the items self link.
Diff Revision 1
This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.
orig
1
2
rbtools/api/resource.py |
---|
rbtools/api/transport/sync.py |
---|