From da799981f5373b09398319df12e77e2efc75caa6 Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Tue, 26 Feb 2019 15:46:02 +0100 Subject: Rename to Constants.py Motivation: Make the constants available also for Robot. Restraint: Robotframework user guide says: Because variable files are always imported using a file system path, creating them as classes has some restrictions: Python classes must have the same name as the module they are located. Change-Id: I638ef3fe045db132e366de2e2699638b8637e45e Signed-off-by: Vratko Polak --- resources/libraries/python/IPUtil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/libraries/python/IPUtil.py') diff --git a/resources/libraries/python/IPUtil.py b/resources/libraries/python/IPUtil.py index e215b301b9..cf7034c0fd 100644 --- a/resources/libraries/python/IPUtil.py +++ b/resources/libraries/python/IPUtil.py @@ -18,7 +18,7 @@ import re from ipaddress import IPv4Network, ip_address from resources.libraries.python.ssh import SSH -from resources.libraries.python.constants import Constants +from resources.libraries.python.Constants import Constants from resources.libraries.python.ssh import exec_cmd_no_error, exec_cmd from resources.libraries.python.topology import Topology -- cgit 1.2.3-korg