direct-io.hg

changeset 12057:6ffb8705f894

[XEND] Make import sxp into absolute import.
* Replacing import sxp with from xen.xend import sxp to avoid
confusion.

Signed-off-by: Alastair Tse <atse@xensource.com>
author acnt2@huggins.lce.cl.cam.ac.uk
date Thu Oct 05 17:29:19 2006 +0100 (2006-10-05)
parents 0d120850741a
children 509285182efb
files tools/python/xen/xend/Args.py tools/python/xen/xend/PrettyPrint.py tools/python/xen/xend/XendBootloader.py tools/python/xen/xend/XendCheckpoint.py tools/python/xen/xend/XendProtocol.py tools/python/xen/xend/XendRoot.py
line diff
     1.1 --- a/tools/python/xen/xend/Args.py	Thu Oct 05 17:29:19 2006 +0100
     1.2 +++ b/tools/python/xen/xend/Args.py	Thu Oct 05 17:29:19 2006 +0100
     1.3 @@ -18,7 +18,7 @@
     1.4  import types
     1.5  import StringIO
     1.6  
     1.7 -import sxp
     1.8 +from xen.xend import sxp
     1.9  
    1.10  class ArgError(StandardError):
    1.11      pass
     2.1 --- a/tools/python/xen/xend/PrettyPrint.py	Thu Oct 05 17:29:19 2006 +0100
     2.2 +++ b/tools/python/xen/xend/PrettyPrint.py	Thu Oct 05 17:29:19 2006 +0100
     2.3 @@ -22,7 +22,7 @@
     2.4  import sys
     2.5  import types
     2.6  import StringIO
     2.7 -import sxp
     2.8 +from xen.xend import sxp
     2.9  
    2.10  class PrettyItem:
    2.11  
     3.1 --- a/tools/python/xen/xend/XendBootloader.py	Thu Oct 05 17:29:19 2006 +0100
     3.2 +++ b/tools/python/xen/xend/XendBootloader.py	Thu Oct 05 17:29:19 2006 +0100
     3.3 @@ -14,8 +14,8 @@
     3.4  
     3.5  import os, select, errno
     3.6  import random
     3.7 -import sxp
     3.8  import shlex
     3.9 +from xen.xend import sxp
    3.10  
    3.11  from XendLogging import log
    3.12  from XendError import VmError
     4.1 --- a/tools/python/xen/xend/XendCheckpoint.py	Thu Oct 05 17:29:19 2006 +0100
     4.2 +++ b/tools/python/xen/xend/XendCheckpoint.py	Thu Oct 05 17:29:19 2006 +0100
     4.3 @@ -8,21 +8,18 @@
     4.4  import os
     4.5  import re
     4.6  import string
     4.7 -import sxp
     4.8  import threading
     4.9  from struct import pack, unpack, calcsize
    4.10  
    4.11  from xen.util.xpopen import xPopen3
    4.12 -
    4.13  import xen.util.auxbin
    4.14 -
    4.15  import xen.lowlevel.xc
    4.16  
    4.17 -import balloon
    4.18 -from XendError import XendError
    4.19 -from XendLogging import log
    4.20 -from XendDomainInfo import DEV_MIGRATE_STEP1, DEV_MIGRATE_STEP2
    4.21 -from XendDomainInfo import DEV_MIGRATE_STEP3
    4.22 +from xen.xend import balloon, sxp
    4.23 +from xen.xend.XendError import XendError
    4.24 +from xen.xend.XendLogging import log
    4.25 +from xen.xend.XendDomainInfo import DEV_MIGRATE_STEP1, DEV_MIGRATE_STEP2
    4.26 +from xen.xend.XendDomainInfo import DEV_MIGRATE_STEP3
    4.27  
    4.28  SIGNATURE = "LinuxGuestRecord"
    4.29  XC_SAVE = "xc_save"
     5.1 --- a/tools/python/xen/xend/XendProtocol.py	Thu Oct 05 17:29:19 2006 +0100
     5.2 +++ b/tools/python/xen/xend/XendProtocol.py	Thu Oct 05 17:29:19 2006 +0100
     5.3 @@ -22,7 +22,7 @@ import time
     5.4  import types
     5.5  
     5.6  from encode import *
     5.7 -import sxp
     5.8 +from xen.xend import sxp
     5.9  
    5.10  from xen.xend import XendRoot
    5.11  
     6.1 --- a/tools/python/xen/xend/XendRoot.py	Thu Oct 05 17:29:19 2006 +0100
     6.2 +++ b/tools/python/xen/xend/XendRoot.py	Thu Oct 05 17:29:19 2006 +0100
     6.3 @@ -30,11 +30,8 @@ import os.path
     6.4  import string
     6.5  import sys
     6.6  
     6.7 -import XendLogging
     6.8 -from XendError import XendError
     6.9 -
    6.10 -import sxp
    6.11 -
    6.12 +from xen.xend import sxp, XendLogging
    6.13 +from xen.xend.XendError import XendError
    6.14  
    6.15  class XendRoot:
    6.16      """Root of the management classes."""