Changeset 16a0f4539b8154b6a3876252260004f2614c07da
- Timestamp:
- 02/22/08 17:03:38
(9 months ago)
- Author:
- KRKeegan <-NOSPAM-kevin@krkeegan.com>
- git-committer:
- KRKeegan <-NOSPAM-kevin@krkeegan.com> 1203721418 -0800
- git-parent:
[496f6c35599b4e4e36de1bc6d75ad66f0e3d3cb7]
- git-author:
- KRKeegan <-NOSPAM-kevin@krkeegan.com> 1203721418 -0800
- Message:
Provide Unsupported response if container does not exist
We really should be providing the same error if a container does not exist as we do if the command does not exist
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r496f6c3 |
r16a0f45 |
|
| 84 | 84 | method = getattr(plugin, command) |
|---|
| 85 | 85 | method(self, query) |
|---|
| | 86 | return |
|---|
| 86 | 87 | else: |
|---|
| 87 | 88 | self.unsupported(query) |
|---|
| | 89 | return |
|---|
| 88 | 90 | break |
|---|
| | 91 | |
|---|
| | 92 | #if we made it here it means we couldn't match the request to anything. |
|---|
| | 93 | self.unsupported(query) |
|---|
| | 94 | return |
|---|
| 89 | 95 | else: |
|---|
| 90 | 96 | self.unsupported(query) |
|---|