# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 88dc1ae16d2b3a4141f1feb14885cdb4fefb6392
# Parent 5fc6d83f43f78682a8e2543f4dce0a7cbd8e33b8
[XM] Remove unused imports.
From: Kazuo Moriwaka <moriwaka@xxxxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
tools/python/xen/xm/cfgbootpolicy.py | 2 --
tools/python/xen/xm/create.py | 3 ---
tools/python/xen/xm/dumppolicy.py | 4 ----
tools/python/xen/xm/labels.py | 3 ---
tools/python/xen/xm/loadpolicy.py | 4 ----
tools/python/xen/xm/makepolicy.py | 4 ----
tools/python/xen/xm/shutdown.py | 2 --
7 files changed, 22 deletions(-)
diff -r 5fc6d83f43f7 -r 88dc1ae16d2b tools/python/xen/xm/cfgbootpolicy.py
--- a/tools/python/xen/xm/cfgbootpolicy.py Fri Jun 30 09:43:08 2006 +0100
+++ b/tools/python/xen/xm/cfgbootpolicy.py Fri Jun 30 09:51:02 2006 +0100
@@ -22,8 +22,6 @@ import traceback
import traceback
import tempfile
import os, stat
-import re
-import commands
import shutil
import string
from xen.util.security import ACMError, err
diff -r 5fc6d83f43f7 -r 88dc1ae16d2b tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py Fri Jun 30 09:43:08 2006 +0100
+++ b/tools/python/xen/xm/create.py Fri Jun 30 09:51:02 2006 +0100
@@ -21,11 +21,8 @@
"""
import os
import os.path
-import string
import sys
import socket
-import commands
-import time
import re
import xmlrpclib
diff -r 5fc6d83f43f7 -r 88dc1ae16d2b tools/python/xen/xm/dumppolicy.py
--- a/tools/python/xen/xm/dumppolicy.py Fri Jun 30 09:43:08 2006 +0100
+++ b/tools/python/xen/xm/dumppolicy.py Fri Jun 30 09:51:02 2006 +0100
@@ -19,10 +19,6 @@
"""
import sys
import traceback
-import os
-import commands
-import shutil
-import string
from xen.util.security import ACMError, err, dump_policy
diff -r 5fc6d83f43f7 -r 88dc1ae16d2b tools/python/xen/xm/labels.py
--- a/tools/python/xen/xm/labels.py Fri Jun 30 09:43:08 2006 +0100
+++ b/tools/python/xen/xm/labels.py Fri Jun 30 09:51:02 2006 +0100
@@ -20,9 +20,6 @@
"""
import sys
import traceback
-import os
-import commands
-import shutil
import string
from xen.util.security import ACMError, err, list_labels, active_policy
from xen.util.security import vm_label_re, res_label_re, all_label_re
diff -r 5fc6d83f43f7 -r 88dc1ae16d2b tools/python/xen/xm/loadpolicy.py
--- a/tools/python/xen/xm/loadpolicy.py Fri Jun 30 09:43:08 2006 +0100
+++ b/tools/python/xen/xm/loadpolicy.py Fri Jun 30 09:51:02 2006 +0100
@@ -20,10 +20,6 @@
"""
import sys
import traceback
-import os
-import commands
-import shutil
-import string
from xen.util.security import ACMError, err, load_policy
diff -r 5fc6d83f43f7 -r 88dc1ae16d2b tools/python/xen/xm/makepolicy.py
--- a/tools/python/xen/xm/makepolicy.py Fri Jun 30 09:43:08 2006 +0100
+++ b/tools/python/xen/xm/makepolicy.py Fri Jun 30 09:51:02 2006 +0100
@@ -19,10 +19,6 @@
"""
import sys
import traceback
-import os
-import commands
-import shutil
-import string
from xen.util.security import ACMError, err, make_policy
diff -r 5fc6d83f43f7 -r 88dc1ae16d2b tools/python/xen/xm/shutdown.py
--- a/tools/python/xen/xm/shutdown.py Fri Jun 30 09:43:08 2006 +0100
+++ b/tools/python/xen/xm/shutdown.py Fri Jun 30 09:51:02 2006 +0100
@@ -17,8 +17,6 @@
"""Domain shutdown.
"""
-import string
-import sys
import time
from xen.xend.XendClient import server
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|