Changeset cb23b422179e7bb9b29711404178b3a51bb68e4e
- Timestamp:
- 02/22/08 20:16:21
(9 months ago)
- Author:
- William McBrine <wmcbrine@gmail.com>
- git-committer:
- William McBrine <wmcbrine@gmail.com> 1203732981 -0500
- git-parent:
[7698eb69bcf50924e32f693c40db256c32c85671]
- git-author:
- William McBrine <wmcbrine@gmail.com> 1203732981 -0500
- Message:
Another place to check for an exact share name match.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r07baf4f |
rcb23b42 |
|
| 75 | 75 | if query.has_key('Container'): |
|---|
| 76 | 76 | # Dispatch to the container plugin |
|---|
| | 77 | basepath = query['Container'][0].split('/')[0] |
|---|
| 77 | 78 | for name, container in self.server.containers.items(): |
|---|
| 78 | | if query['Container'][0].startswith(name): |
|---|
| | 79 | if basepath == name: |
|---|
| 79 | 80 | plugin = GetPlugin(container['type']) |
|---|
| 80 | 81 | if hasattr(plugin, command): |
|---|