hi, I try pylint for xm. It detects some unused imports. -- Kazuo Moriwaka # HG changeset patch # User moriwaka@valinux.co.jp # Node ID f538a4274e184e473b598de2c69e49c9db7bbb50 # Parent ae245d35457b03f680b994437bd25532b98aa523 delete unused imports diff -r ae245d35457b -r f538a4274e18 tools/python/xen/xm/cfgbootpolicy.py --- a/tools/python/xen/xm/cfgbootpolicy.py Wed Jun 28 13:59:29 2006 +0100 +++ b/tools/python/xen/xm/cfgbootpolicy.py Fri Jun 30 13:08:21 2006 +0900 @@ -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 ae245d35457b -r f538a4274e18 tools/python/xen/xm/create.py --- a/tools/python/xen/xm/create.py Wed Jun 28 13:59:29 2006 +0100 +++ b/tools/python/xen/xm/create.py Fri Jun 30 13:08:21 2006 +0900 @@ -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 ae245d35457b -r f538a4274e18 tools/python/xen/xm/dumppolicy.py --- a/tools/python/xen/xm/dumppolicy.py Wed Jun 28 13:59:29 2006 +0100 +++ b/tools/python/xen/xm/dumppolicy.py Fri Jun 30 13:08:21 2006 +0900 @@ -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 ae245d35457b -r f538a4274e18 tools/python/xen/xm/labels.py --- a/tools/python/xen/xm/labels.py Wed Jun 28 13:59:29 2006 +0100 +++ b/tools/python/xen/xm/labels.py Fri Jun 30 13:08:21 2006 +0900 @@ -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 ae245d35457b -r f538a4274e18 tools/python/xen/xm/loadpolicy.py --- a/tools/python/xen/xm/loadpolicy.py Wed Jun 28 13:59:29 2006 +0100 +++ b/tools/python/xen/xm/loadpolicy.py Fri Jun 30 13:08:21 2006 +0900 @@ -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 ae245d35457b -r f538a4274e18 tools/python/xen/xm/makepolicy.py --- a/tools/python/xen/xm/makepolicy.py Wed Jun 28 13:59:29 2006 +0100 +++ b/tools/python/xen/xm/makepolicy.py Fri Jun 30 13:08:21 2006 +0900 @@ -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 ae245d35457b -r f538a4274e18 tools/python/xen/xm/shutdown.py --- a/tools/python/xen/xm/shutdown.py Wed Jun 28 13:59:29 2006 +0100 +++ b/tools/python/xen/xm/shutdown.py Fri Jun 30 13:08:21 2006 +0900 @@ -17,8 +17,6 @@ """Domain shutdown. """ -import string -import sys import time from xen.xend.XendClient import server _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel