Merge lp:~rvb/maas/file-delete into lp:~maas-committers/maas/trunk
Proposed by
Raphaël Badin
Status: | Merged |
---|---|
Approved by: | Raphaël Badin |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1435 |
Proposed branch: | lp:~rvb/maas/file-delete |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
173 lines (+92/-0) 3 files modified
src/maasserver/api.py (+39/-0) src/maasserver/tests/test_api.py (+50/-0) src/maasserver/urls_api.py (+3/-0) |
To merge this branch: | bzr merge lp:~rvb/maas/file-delete |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gavin Panella (community) | Approve | ||
Review via email: mp+148381@code.launchpad.net |
Commit message
Add support for listing files (FileStorage objects).
To post a comment you must log in.
Looks good, with only one question.
[1]
> + url(r'files/ (?P<filename> [^/]+)/ $', file_handler, name='file_ handler' ),
It seems fishy to refer to a filename with a URL that looks like a
directory.