aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/Memif.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2019-06-14 08:31:18 +0200
committerPeter Mikus <pmikus@cisco.com>2019-06-14 07:56:00 +0000
commit12a51f968499f7710a5f54c7cc3bc2afa5c7bc3b (patch)
tree6c7303c8cb69e691401f8bdeef75b7b8f6aabaf0 /resources/libraries/python/Memif.py
parent92b19ebfda6e26e97a038c78d73bf635e34bbc57 (diff)
PAPI: Fix PyLint errors
Change-Id: Ieaafbb111f4c3aea9b577c2ab31ca5162400ac46 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/libraries/python/Memif.py')
-rw-r--r--resources/libraries/python/Memif.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/python/Memif.py b/resources/libraries/python/Memif.py
index 71c476fb9e..53fbcef404 100644
--- a/resources/libraries/python/Memif.py
+++ b/resources/libraries/python/Memif.py
@@ -13,9 +13,9 @@
"""Memif interface library."""
-import logging
from enum import IntEnum
+from robot.api import logger
from resources.libraries.python.topology import NodeType, Topology
from resources.libraries.python.PapiExecutor import PapiExecutor
@@ -54,7 +54,7 @@ class Memif(object):
L2Util.bin_to_mac(item["memif_details"]["hw_addr"])
data.append(item)
- logging.debug("MEMIF data:\n{data}".format(data=data))
+ logger.debug("MEMIF data:\n{data}".format(data=data))
return data