[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>
This commit is contained in:
acnt2@huggins.lce.cl.cam.ac.uk committed 2006-10-05 17:29:19 +01:00
1 parent 39c3a03dfa
commit 4c89cbf41f
6 files changed
+11 -17

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@
import types
import StringIO
import sxp
from xen.xend import sxp
class ArgError(StandardError):
pass
+1 -1
View File
@@ -22,7 +22,7 @@
import sys
import types
import StringIO
import sxp
from xen.xend import sxp
class PrettyItem:
+1 -1
View File
@@ -14,8 +14,8 @@
import os, select, errno
import random
import sxp
import shlex
from xen.xend import sxp
from XendLogging import log
from XendError import VmError
+5 -8
View File
@@ -8,21 +8,18 @@
import os
import re
import string
import sxp
import threading
from struct import pack, unpack, calcsize
from xen.util.xpopen import xPopen3
import xen.util.auxbin
import xen.lowlevel.xc
import balloon
from XendError import XendError
from XendLogging import log
from XendDomainInfo import DEV_MIGRATE_STEP1, DEV_MIGRATE_STEP2
from XendDomainInfo import DEV_MIGRATE_STEP3
from xen.xend import balloon, sxp
from xen.xend.XendError import XendError
from xen.xend.XendLogging import log
from xen.xend.XendDomainInfo import DEV_MIGRATE_STEP1, DEV_MIGRATE_STEP2
from xen.xend.XendDomainInfo import DEV_MIGRATE_STEP3
SIGNATURE = "LinuxGuestRecord"
XC_SAVE = "xc_save"
+1 -1
View File
@@ -22,7 +22,7 @@ import time
import types
from encode import *
import sxp
from xen.xend import sxp
from xen.xend import XendRoot
+2 -5
View File
@@ -30,11 +30,8 @@ import os.path
import string
import sys
import XendLogging
from XendError import XendError
import sxp
from xen.xend import sxp, XendLogging
from xen.xend.XendError import XendError
class XendRoot:
"""Root of the management classes."""
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.