[test-API PATCH 5/5] testcase: remove useless utils import

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 repos/domain/autostart.py                |    1 -
 repos/domain/blkstats.py                 |    1 -
 repos/domain/console_mutex.py            |    1 -
 repos/domain/domain_blkinfo.py           |    1 -
 repos/domain/domain_id.py                |    1 -
 repos/domain/domain_uuid.py              |    1 -
 repos/domain/domblkinfo.py               |    1 -
 repos/domain/eventhandler.py             |    1 -
 repos/domain/migrate.py                  |    1 -
 repos/domain/undefine.py                 |    1 -
 repos/interface/define.py                |    1 -
 repos/interface/undefine.py              |    1 -
 repos/network/autostart.py               |    1 -
 repos/network/create.py                  |    1 -
 repos/network/define.py                  |    1 -
 repos/network/destroy.py                 |    1 -
 repos/network/network_name.py            |    1 -
 repos/network/network_uuid.py            |    1 -
 repos/network/start.py                   |    1 -
 repos/network/undefine.py                |    1 -
 repos/npiv/create_virtual_hba.py         |    1 -
 repos/snapshot/delete.py                 |    1 -
 repos/snapshot/revert.py                 |    1 -
 repos/storage/activate_pool.py           |    1 -
 repos/storage/build_dir_pool.py          |    1 -
 repos/storage/build_disk_pool.py         |    1 -
 repos/storage/build_logical_pool.py      |    1 -
 repos/storage/build_netfs_pool.py        |    1 -
 repos/storage/create_dir_pool.py         |    1 -
 repos/storage/create_dir_volume.py       |    1 -
 repos/storage/create_fs_pool.py          |    1 -
 repos/storage/create_iscsi_pool.py       |    1 -
 repos/storage/create_netfs_pool.py       |    1 -
 repos/storage/create_netfs_volume.py     |    1 -
 repos/storage/create_partition_volume.py |    1 -
 repos/storage/define_dir_pool.py         |    1 -
 repos/storage/define_disk_pool.py        |    1 -
 repos/storage/define_iscsi_pool.py       |    1 -
 repos/storage/define_logical_pool.py     |    1 -
 repos/storage/define_mpath_pool.py       |    1 -
 repos/storage/define_netfs_pool.py       |    1 -
 repos/storage/define_scsi_pool.py        |    1 -
 repos/storage/delete_dir_volume.py       |    1 -
 repos/storage/delete_logical_pool.py     |    1 -
 repos/storage/delete_logical_volume.py   |    1 -
 repos/storage/delete_netfs_volume.py     |    1 -
 repos/storage/delete_partition_volume.py |    1 -
 repos/storage/destroy_pool.py            |    1 -
 repos/storage/pool_name.py               |    1 -
 repos/storage/pool_uuid.py               |    1 -
 repos/storage/undefine_pool.py           |    1 -
 51 files changed, 0 insertions(+), 51 deletions(-)

diff --git a/repos/domain/autostart.py b/repos/domain/autostart.py
index ca65886..f122f34 100644
--- a/repos/domain/autostart.py
+++ b/repos/domain/autostart.py
@@ -12,7 +12,6 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 def usage(params):
     """Verify inputing parameter dictionary"""
diff --git a/repos/domain/blkstats.py b/repos/domain/blkstats.py
index 1ab7db6..756a424 100644
--- a/repos/domain/blkstats.py
+++ b/repos/domain/blkstats.py
@@ -12,7 +12,6 @@ import libxml2
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 def usage(params):
     """Verify inputing parameter dictionary"""
diff --git a/repos/domain/console_mutex.py b/repos/domain/console_mutex.py
index edf46c1..052e766 100644
--- a/repos/domain/console_mutex.py
+++ b/repos/domain/console_mutex.py
@@ -6,7 +6,6 @@ import libvirt
 from libvirt import libvirtError
 from exception import TestError
 
-from utils import utils
 
 def usage(params):
     """Verify parameter dictionary"""
diff --git a/repos/domain/domain_blkinfo.py b/repos/domain/domain_blkinfo.py
index 975173c..6e60964 100644
--- a/repos/domain/domain_blkinfo.py
+++ b/repos/domain/domain_blkinfo.py
@@ -10,7 +10,6 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 GET_DOMBLKINFO_MAC = "virsh domblkinfo %s %s | awk '{print $2}'"
 GET_CAPACITY = "du -b %s | awk '{print $1}'"
diff --git a/repos/domain/domain_id.py b/repos/domain/domain_id.py
index 2d8f3e0..570a1be 100644
--- a/repos/domain/domain_id.py
+++ b/repos/domain/domain_id.py
@@ -9,7 +9,6 @@ import commands
 
 import libvirt
 
-from utils import utils
 
 VIRSH_DOMID = "virsh domid"
 VIRSH_IDS = "virsh --quiet list |awk '{print $1}'"
diff --git a/repos/domain/domain_uuid.py b/repos/domain/domain_uuid.py
index 62a88ae..b6578e4 100644
--- a/repos/domain/domain_uuid.py
+++ b/repos/domain/domain_uuid.py
@@ -10,7 +10,6 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 VIRSH_DOMUUID = "virsh domuuid"
 
diff --git a/repos/domain/domblkinfo.py b/repos/domain/domblkinfo.py
index 975173c..6e60964 100644
--- a/repos/domain/domblkinfo.py
+++ b/repos/domain/domblkinfo.py
@@ -10,7 +10,6 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 GET_DOMBLKINFO_MAC = "virsh domblkinfo %s %s | awk '{print $2}'"
 GET_CAPACITY = "du -b %s | awk '{print $1}'"
diff --git a/repos/domain/eventhandler.py b/repos/domain/eventhandler.py
index 30bf272..8d31ad5 100644
--- a/repos/domain/eventhandler.py
+++ b/repos/domain/eventhandler.py
@@ -15,7 +15,6 @@ import threading
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 LoopThread = None
 looping = True
diff --git a/repos/domain/migrate.py b/repos/domain/migrate.py
index d1458a5..e6f7df0 100644
--- a/repos/domain/migrate.py
+++ b/repos/domain/migrate.py
@@ -42,7 +42,6 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 from utils import xmlbuilder
 
 SSH_KEYGEN = "ssh-keygen -t rsa"
diff --git a/repos/domain/undefine.py b/repos/domain/undefine.py
index ed92f49..9412a72 100644
--- a/repos/domain/undefine.py
+++ b/repos/domain/undefine.py
@@ -11,7 +11,6 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 def usage(params):
     """Verify inputing parameter dictionary"""
diff --git a/repos/interface/define.py b/repos/interface/define.py
index 6f8d68c..04f4010 100644
--- a/repos/interface/define.py
+++ b/repos/interface/define.py
@@ -10,7 +10,6 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 from utils import xmlbuilder
 
 def usage(params):
diff --git a/repos/interface/undefine.py b/repos/interface/undefine.py
index 884b7e1..a759d99 100644
--- a/repos/interface/undefine.py
+++ b/repos/interface/undefine.py
@@ -10,7 +10,6 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 from utils import xmlbuilder
 
 def usage(params):
diff --git a/repos/network/autostart.py b/repos/network/autostart.py
index 374f964..4d7e65c 100644
--- a/repos/network/autostart.py
+++ b/repos/network/autostart.py
@@ -12,7 +12,6 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 def check_params(params):
     """Verify inputing parameter dictionary"""
diff --git a/repos/network/create.py b/repos/network/create.py
index 4c5298b..5e7cd1e 100644
--- a/repos/network/create.py
+++ b/repos/network/create.py
@@ -11,7 +11,6 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 from utils import xmlbuilder
 
 def usage(params):
diff --git a/repos/network/define.py b/repos/network/define.py
index 884f529..4ee5456 100644
--- a/repos/network/define.py
+++ b/repos/network/define.py
@@ -11,7 +11,6 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 from utils import xmlbuilder
 
 def usage(params):
diff --git a/repos/network/destroy.py b/repos/network/destroy.py
index 665c77f..8757e3b 100644
--- a/repos/network/destroy.py
+++ b/repos/network/destroy.py
@@ -9,7 +9,6 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 def usage(params):
     """Verify inputing parameter dictionary"""
diff --git a/repos/network/network_name.py b/repos/network/network_name.py
index 99773b9..5aa6a5e 100644
--- a/repos/network/network_name.py
+++ b/repos/network/network_name.py
@@ -10,7 +10,6 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 VIRSH_NETNAME = "virsh net-name"
 
diff --git a/repos/network/network_uuid.py b/repos/network/network_uuid.py
index 42b0dec..79c79e5 100644
--- a/repos/network/network_uuid.py
+++ b/repos/network/network_uuid.py
@@ -10,7 +10,6 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 VIRSH_NETUUID = "virsh net-uuid"
 
diff --git a/repos/network/start.py b/repos/network/start.py
index a6212b8..5debf1b 100644
--- a/repos/network/start.py
+++ b/repos/network/start.py
@@ -12,7 +12,6 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 def return_close(conn, logger, ret):
     conn.close()
diff --git a/repos/network/undefine.py b/repos/network/undefine.py
index bdb53b7..7aaa93f 100644
--- a/repos/network/undefine.py
+++ b/repos/network/undefine.py
@@ -11,7 +11,6 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 def usage(params):
     """Verify inputing parameter dictionary"""
diff --git a/repos/npiv/create_virtual_hba.py b/repos/npiv/create_virtual_hba.py
index b032c64..f9598f4 100644
--- a/repos/npiv/create_virtual_hba.py
+++ b/repos/npiv/create_virtual_hba.py
@@ -12,7 +12,6 @@ from utils import xmlbuilder
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 def usage(params):
     """Verify input parameters"""
diff --git a/repos/snapshot/delete.py b/repos/snapshot/delete.py
index 2e142d4..4af33a0 100644
--- a/repos/snapshot/delete.py
+++ b/repos/snapshot/delete.py
@@ -10,7 +10,6 @@ import re
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 SNAPSHOT_DIR = "/var/lib/libvirt/qemu/snapshot"
 
diff --git a/repos/snapshot/revert.py b/repos/snapshot/revert.py
index 6c0987e..7568432 100644
--- a/repos/snapshot/revert.py
+++ b/repos/snapshot/revert.py
@@ -10,7 +10,6 @@ import re
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 def check_params(params):
     """Verify the input parameter"""
diff --git a/repos/storage/activate_pool.py b/repos/storage/activate_pool.py
index 646b396..7725ee5 100644
--- a/repos/storage/activate_pool.py
+++ b/repos/storage/activate_pool.py
@@ -9,7 +9,6 @@ import time
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 from utils import xmlbuilder
 
 def usage(params):
diff --git a/repos/storage/build_dir_pool.py b/repos/storage/build_dir_pool.py
index 116a207..07d9f5c 100644
--- a/repos/storage/build_dir_pool.py
+++ b/repos/storage/build_dir_pool.py
@@ -12,7 +12,6 @@ from xml.dom import minidom
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 def usage(params):
     """Verify inputing parameter dictionary"""
diff --git a/repos/storage/build_disk_pool.py b/repos/storage/build_disk_pool.py
index e59b98f..d65eb91 100644
--- a/repos/storage/build_disk_pool.py
+++ b/repos/storage/build_disk_pool.py
@@ -13,7 +13,6 @@ from xml.dom import minidom
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 def usage():
     """usage information"""
diff --git a/repos/storage/build_logical_pool.py b/repos/storage/build_logical_pool.py
index fd8818e..6234fcb 100644
--- a/repos/storage/build_logical_pool.py
+++ b/repos/storage/build_logical_pool.py
@@ -11,7 +11,6 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 def usage(params):
     """Verify inputing parameter dictionary"""
diff --git a/repos/storage/build_netfs_pool.py b/repos/storage/build_netfs_pool.py
index 5bdddf5..1672b77 100644
--- a/repos/storage/build_netfs_pool.py
+++ b/repos/storage/build_netfs_pool.py
@@ -11,7 +11,6 @@ from xml.dom import minidom
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 def usage(params):
     """Verify inputing parameter dictionary"""
diff --git a/repos/storage/create_dir_pool.py b/repos/storage/create_dir_pool.py
index dd7526d..71abf3d 100644
--- a/repos/storage/create_dir_pool.py
+++ b/repos/storage/create_dir_pool.py
@@ -11,7 +11,6 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 from utils import xmlbuilder
 
 def usage(params):
diff --git a/repos/storage/create_dir_volume.py b/repos/storage/create_dir_volume.py
index 15927f3..c0e9a7c 100644
--- a/repos/storage/create_dir_volume.py
+++ b/repos/storage/create_dir_volume.py
@@ -12,7 +12,6 @@ from xml.dom import minidom
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 from utils import xmlbuilder
 
 def usage():
diff --git a/repos/storage/create_fs_pool.py b/repos/storage/create_fs_pool.py
index cad8c18..c3ce4a5 100644
--- a/repos/storage/create_fs_pool.py
+++ b/repos/storage/create_fs_pool.py
@@ -11,7 +11,6 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 from utils import xmlbuilder
 from utils import XMLParser
 
diff --git a/repos/storage/create_iscsi_pool.py b/repos/storage/create_iscsi_pool.py
index 61a1e98..71ea3f8 100644
--- a/repos/storage/create_iscsi_pool.py
+++ b/repos/storage/create_iscsi_pool.py
@@ -11,7 +11,6 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 from utils import xmlbuilder
 
 def usage(params):
diff --git a/repos/storage/create_netfs_pool.py b/repos/storage/create_netfs_pool.py
index 035a01a..3c90882 100644
--- a/repos/storage/create_netfs_pool.py
+++ b/repos/storage/create_netfs_pool.py
@@ -11,7 +11,6 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 from utils import xmlbuilder
 from utils import XMLParser
 
diff --git a/repos/storage/create_netfs_volume.py b/repos/storage/create_netfs_volume.py
index 318878c..8aa798c 100644
--- a/repos/storage/create_netfs_volume.py
+++ b/repos/storage/create_netfs_volume.py
@@ -12,7 +12,6 @@ from xml.dom import minidom
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 from utils import xmlbuilder
 
 def usage():
diff --git a/repos/storage/create_partition_volume.py b/repos/storage/create_partition_volume.py
index 7ec9130..68c45c4 100644
--- a/repos/storage/create_partition_volume.py
+++ b/repos/storage/create_partition_volume.py
@@ -11,7 +11,6 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 from utils import xmlbuilder
 
 def usage():
diff --git a/repos/storage/define_dir_pool.py b/repos/storage/define_dir_pool.py
index c1b48c3..b22b8cd 100644
--- a/repos/storage/define_dir_pool.py
+++ b/repos/storage/define_dir_pool.py
@@ -11,7 +11,6 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 from utils import xmlbuilder
 
 VIRSH_POOLLIST = "virsh --quiet pool-list --all|awk '{print $1}'|grep \"^%s$\""
diff --git a/repos/storage/define_disk_pool.py b/repos/storage/define_disk_pool.py
index fe8215e..1e95141 100644
--- a/repos/storage/define_disk_pool.py
+++ b/repos/storage/define_disk_pool.py
@@ -10,7 +10,6 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 from utils import xmlbuilder
 
 def usage():
diff --git a/repos/storage/define_iscsi_pool.py b/repos/storage/define_iscsi_pool.py
index 7b8d19a..5387aac 100644
--- a/repos/storage/define_iscsi_pool.py
+++ b/repos/storage/define_iscsi_pool.py
@@ -10,7 +10,6 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 from utils import xmlbuilder
 
 def usage(params):
diff --git a/repos/storage/define_logical_pool.py b/repos/storage/define_logical_pool.py
index b097b1d..4e9b2df 100644
--- a/repos/storage/define_logical_pool.py
+++ b/repos/storage/define_logical_pool.py
@@ -10,7 +10,6 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 from utils import xmlbuilder
 
 def usage(params):
diff --git a/repos/storage/define_mpath_pool.py b/repos/storage/define_mpath_pool.py
index 3ede935..d3803c9 100644
--- a/repos/storage/define_mpath_pool.py
+++ b/repos/storage/define_mpath_pool.py
@@ -10,7 +10,6 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 from utils import xmlbuilder
 
 def usage():
diff --git a/repos/storage/define_netfs_pool.py b/repos/storage/define_netfs_pool.py
index e0c4694..18ee7b9 100644
--- a/repos/storage/define_netfs_pool.py
+++ b/repos/storage/define_netfs_pool.py
@@ -10,7 +10,6 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 from utils import xmlbuilder
 
 def usage(params):
diff --git a/repos/storage/define_scsi_pool.py b/repos/storage/define_scsi_pool.py
index e7dabc6..a1a9c13 100644
--- a/repos/storage/define_scsi_pool.py
+++ b/repos/storage/define_scsi_pool.py
@@ -10,7 +10,6 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 from utils import xmlbuilder
 
 def usage():
diff --git a/repos/storage/delete_dir_volume.py b/repos/storage/delete_dir_volume.py
index 1c51abe..6691eff 100644
--- a/repos/storage/delete_dir_volume.py
+++ b/repos/storage/delete_dir_volume.py
@@ -10,7 +10,6 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 def usage(params):
     """Verify inputing parameter dictionary"""
diff --git a/repos/storage/delete_logical_pool.py b/repos/storage/delete_logical_pool.py
index ee28782..eab40b9 100644
--- a/repos/storage/delete_logical_pool.py
+++ b/repos/storage/delete_logical_pool.py
@@ -11,7 +11,6 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 def usage(params):
     """Verify inputing parameter dictionary"""
diff --git a/repos/storage/delete_logical_volume.py b/repos/storage/delete_logical_volume.py
index d3e69be..53b7891 100644
--- a/repos/storage/delete_logical_volume.py
+++ b/repos/storage/delete_logical_volume.py
@@ -11,7 +11,6 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 def usage(params):
     """Verify inputing parameter dictionary"""
diff --git a/repos/storage/delete_netfs_volume.py b/repos/storage/delete_netfs_volume.py
index f284b5f..6ad25c5 100644
--- a/repos/storage/delete_netfs_volume.py
+++ b/repos/storage/delete_netfs_volume.py
@@ -10,7 +10,6 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 def usage(params):
     """Verify inputing parameter dictionary"""
diff --git a/repos/storage/delete_partition_volume.py b/repos/storage/delete_partition_volume.py
index 025a8f3..6845b9c 100644
--- a/repos/storage/delete_partition_volume.py
+++ b/repos/storage/delete_partition_volume.py
@@ -11,7 +11,6 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 from utils import xmlbuilder
 
 def usage():
diff --git a/repos/storage/destroy_pool.py b/repos/storage/destroy_pool.py
index 762dea6..1fa64ec 100644
--- a/repos/storage/destroy_pool.py
+++ b/repos/storage/destroy_pool.py
@@ -12,7 +12,6 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 from utils import xmlbuilder
 
 def return_close(conn, logger, ret):
diff --git a/repos/storage/pool_name.py b/repos/storage/pool_name.py
index e1b0138..0757b38 100644
--- a/repos/storage/pool_name.py
+++ b/repos/storage/pool_name.py
@@ -11,7 +11,6 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 VIRSH_POOLNAME = "virsh pool-name"
 
diff --git a/repos/storage/pool_uuid.py b/repos/storage/pool_uuid.py
index 28875c1..90354b8 100644
--- a/repos/storage/pool_uuid.py
+++ b/repos/storage/pool_uuid.py
@@ -11,7 +11,6 @@ import commands
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 VIRSH_POOLUUID = "virsh pool-uuid"
 
diff --git a/repos/storage/undefine_pool.py b/repos/storage/undefine_pool.py
index c2865c1..2bb7400 100644
--- a/repos/storage/undefine_pool.py
+++ b/repos/storage/undefine_pool.py
@@ -10,7 +10,6 @@ import sys
 import libvirt
 from libvirt import libvirtError
 
-from utils import utils
 
 def usage(params):
     """Verify inputing parameter dictionary"""
-- 
1.7.7.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]