ia64/xen-unstable

changeset 10610:88dc1ae16d2b

[XM] Remove unused imports.
From: Kazuo Moriwaka <moriwaka@gmail.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Fri Jun 30 09:51:02 2006 +0100 (2006-06-30)
parents 5fc6d83f43f7
children f147efaa24ad
files tools/python/xen/xm/cfgbootpolicy.py tools/python/xen/xm/create.py tools/python/xen/xm/dumppolicy.py tools/python/xen/xm/labels.py tools/python/xen/xm/loadpolicy.py tools/python/xen/xm/makepolicy.py tools/python/xen/xm/shutdown.py
line diff
     1.1 --- a/tools/python/xen/xm/cfgbootpolicy.py	Fri Jun 30 09:43:08 2006 +0100
     1.2 +++ b/tools/python/xen/xm/cfgbootpolicy.py	Fri Jun 30 09:51:02 2006 +0100
     1.3 @@ -22,8 +22,6 @@ import sys
     1.4  import traceback
     1.5  import tempfile
     1.6  import os, stat
     1.7 -import re
     1.8 -import commands
     1.9  import shutil
    1.10  import string
    1.11  from xen.util.security import ACMError, err
     2.1 --- a/tools/python/xen/xm/create.py	Fri Jun 30 09:43:08 2006 +0100
     2.2 +++ b/tools/python/xen/xm/create.py	Fri Jun 30 09:51:02 2006 +0100
     2.3 @@ -21,11 +21,8 @@
     2.4  """
     2.5  import os
     2.6  import os.path
     2.7 -import string
     2.8  import sys
     2.9  import socket
    2.10 -import commands
    2.11 -import time
    2.12  import re
    2.13  import xmlrpclib
    2.14  
     3.1 --- a/tools/python/xen/xm/dumppolicy.py	Fri Jun 30 09:43:08 2006 +0100
     3.2 +++ b/tools/python/xen/xm/dumppolicy.py	Fri Jun 30 09:51:02 2006 +0100
     3.3 @@ -19,10 +19,6 @@
     3.4  """
     3.5  import sys
     3.6  import traceback
     3.7 -import os
     3.8 -import commands
     3.9 -import shutil
    3.10 -import string
    3.11  from xen.util.security import ACMError, err, dump_policy
    3.12  
    3.13  
     4.1 --- a/tools/python/xen/xm/labels.py	Fri Jun 30 09:43:08 2006 +0100
     4.2 +++ b/tools/python/xen/xm/labels.py	Fri Jun 30 09:51:02 2006 +0100
     4.3 @@ -20,9 +20,6 @@
     4.4  """
     4.5  import sys
     4.6  import traceback
     4.7 -import os
     4.8 -import commands
     4.9 -import shutil
    4.10  import string
    4.11  from xen.util.security import ACMError, err, list_labels, active_policy
    4.12  from xen.util.security import vm_label_re, res_label_re, all_label_re
     5.1 --- a/tools/python/xen/xm/loadpolicy.py	Fri Jun 30 09:43:08 2006 +0100
     5.2 +++ b/tools/python/xen/xm/loadpolicy.py	Fri Jun 30 09:51:02 2006 +0100
     5.3 @@ -20,10 +20,6 @@
     5.4  """
     5.5  import sys
     5.6  import traceback
     5.7 -import os
     5.8 -import commands
     5.9 -import shutil
    5.10 -import string
    5.11  from xen.util.security import ACMError, err, load_policy
    5.12  
    5.13  
     6.1 --- a/tools/python/xen/xm/makepolicy.py	Fri Jun 30 09:43:08 2006 +0100
     6.2 +++ b/tools/python/xen/xm/makepolicy.py	Fri Jun 30 09:51:02 2006 +0100
     6.3 @@ -19,10 +19,6 @@
     6.4  """
     6.5  import sys
     6.6  import traceback
     6.7 -import os
     6.8 -import commands
     6.9 -import shutil
    6.10 -import string
    6.11  from xen.util.security import ACMError, err, make_policy
    6.12  
    6.13  
     7.1 --- a/tools/python/xen/xm/shutdown.py	Fri Jun 30 09:43:08 2006 +0100
     7.2 +++ b/tools/python/xen/xm/shutdown.py	Fri Jun 30 09:51:02 2006 +0100
     7.3 @@ -17,8 +17,6 @@
     7.4  
     7.5  """Domain shutdown.
     7.6  """
     7.7 -import string
     7.8 -import sys
     7.9  import time
    7.10  
    7.11  from xen.xend.XendClient import server