This reverts commit 49e5fe185a.
reason:
- these changes are breaking the Manila UI plugin job
- there is a good chance other Horizon plugin jobs would also fail.
- more testing across as many plugin jobs will be needed before a revisit.
Change-Id: I76018c5eff71ed82b89e202957ab3f6ee9452369
Signed-off-by: Owen McGonagle <omcgonag@redhat.com>
23 lines
825 B
Python
23 lines
825 B
Python
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
|
|
class BaseRegionException(Exception):
|
|
"""Base exception class for region module."""
|
|
pass
|
|
|
|
|
|
class UnknownFormFieldTypeException(BaseRegionException):
|
|
|
|
def __str__(self):
|
|
return "No FormField class matched the scope of web content."
|