aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/PapiExecutor.py
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2019-08-07 13:58:59 +0000
committerVratko Polak <vrpolak@cisco.com>2019-08-07 16:20:35 +0000
commit6c6b9edc4690f5c4cd86334d706d7c40a81c85cf (patch)
tree33078dc8f2557a6928a49518e46589ed10b3289f /resources/libraries/python/PapiExecutor.py
parentc8ea6f1fab0b77a0690548fbef825cf902ad4146 (diff)
FIX: Pylint
- my bad Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I8c1f57f6b648b99338f3f6a6ff9ec943082e9bc4
Diffstat (limited to 'resources/libraries/python/PapiExecutor.py')
-rw-r--r--resources/libraries/python/PapiExecutor.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/resources/libraries/python/PapiExecutor.py b/resources/libraries/python/PapiExecutor.py
index d7130ebb61..adafa88fa0 100644
--- a/resources/libraries/python/PapiExecutor.py
+++ b/resources/libraries/python/PapiExecutor.py
@@ -148,8 +148,7 @@ class PapiSocketExecutor(object):
self._ssh_control_socket = None
self._local_vpp_socket = None
- @property
- def crc_checker(self):
+ def create_crc_checker(self):
"""Return the cached instance or create new one from directory.
It is assumed self.api_json_directory is set, as a class variable.
@@ -204,7 +203,7 @@ class PapiSocketExecutor(object):
cls.api_json_directory = tmp_dir + "/usr/share/vpp/api"
# Perform initial checks before .api.json files are gone,
# by accessing the property (which also creates its instance).
- self.crc_checker
+ self.create_crc_checker()
# When present locally, we finally can find the installation path.
package_path = glob.glob(tmp_dir + installed_papi_glob)[0]
# Package path has to be one level above the vpp_papi directory.