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

[Xen-devel] [PATCH] delete unused imports


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Kazuo Moriwaka" <moriwaka@xxxxxxxxx>
  • Date: Fri, 30 Jun 2006 13:15:54 +0900
  • Delivery-date: Thu, 29 Jun 2006 21:16:18 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=eNY0lDeCOWx/keCn6EM4+kFyOfDc4dsWdouxXeaQ80LhaXMKqGaw6xrD1Z2ePPZV3s4VEk9jqAHmnKDTXKp4N0siCaCUq0nezD4zfiDlGHtWrUehpzGBIAwwAdmTrWrv2Vw2/3dyBAlIEWfZKa98WNc4DMa5+/k8y68Sh/yOnJY=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

hi,

I try pylint for xm. It detects some unused imports.

--
Kazuo Moriwaka

# HG changeset patch
# User moriwaka@xxxxxxxxxxxxx
# 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.