diff options
author | John O Loughlin <john.oloughlin@intel.com> | 2019-01-18 11:27:03 +0000 |
---|---|---|
committer | Emma Foley <emma.l.foley@intel.com> | 2019-01-31 10:24:43 +0000 |
commit | 5038f9068c70bfe2ef5241c5d88fa14067287daf (patch) | |
tree | d50e1f862be822963c57524f88182eb506b19ee5 /yardstick/common | |
parent | 51fcd65a47991a62235f32b63c0b4f732551fca5 (diff) |
Fix exception handling ixload
Ixload uses its own version of python
By default it will fail to import yardstick.common exceptions.
For this reason for this reason ixload exceptions should be kept
in http_ixload.py
JIRA: YARDSTICK-1587
Change-Id: I5673fb5b89bbcdf4d3c60c283231d44d770999ec
Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
Diffstat (limited to 'yardstick/common')
-rw-r--r-- | yardstick/common/exceptions.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/yardstick/common/exceptions.py b/yardstick/common/exceptions.py index f62f02f18..952c62394 100644 --- a/yardstick/common/exceptions.py +++ b/yardstick/common/exceptions.py @@ -1,4 +1,4 @@ -# Copyright (c) 2017 Intel Corporation +# Copyright (c) 2017-2019 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -83,10 +83,6 @@ class InvalidType(YardstickException): message = 'Type "%(type_to_convert)s" is not valid' -class InvalidRxfFile(YardstickException): - message = 'Loaded rxf file has unexpected format' - - class InfluxDBConfigurationMissing(YardstickException): message = ('InfluxDB configuration is not available. Add "influxdb" as ' 'a dispatcher and the configuration section') |