diff options
author | Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com> | 2017-12-12 16:18:28 +0000 |
---|---|---|
committer | Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com> | 2018-02-15 12:12:10 +0000 |
commit | 306c2408c3ea30dc53d5883cebc3550f8cb7ebbc (patch) | |
tree | 537d0926f3cbe1c558d17d301017b369fa31fbfb /yardstick/__init__.py | |
parent | 479d06e896d421bcd18ebc4b207faf7400533e93 (diff) |
Prohibit the importation of a list of libraries
Some modules can't be imported and used in Yardstick. For example,
"ansible" has GPLv3 license and can't be used as a library in this
project without modifying Yardstick license.
JIRA: YARDSTICK-896
Change-Id: I9d6bec0493ac50f1051235cc77e81059dfc3e01c
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Diffstat (limited to 'yardstick/__init__.py')
-rw-r--r-- | yardstick/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yardstick/__init__.py b/yardstick/__init__.py index f95b0a906..9eb5db9b1 100644 --- a/yardstick/__init__.py +++ b/yardstick/__init__.py @@ -14,8 +14,9 @@ import errno # this module must only import other modules that do # not require loggers to be created, so this cannot -# include yardstick.common.utils from yardstick.common import constants +from yardstick.common import exceptions + try: # do not use yardstick.common.utils.makedirs |