ia64/xen-unstable

changeset 16360:3e3b0418905f

Fix xend startup after 16344:0ebac857649591.
Signed-off-by: Keir Fraser <keir.fraser@eu.citrix.com>
author Keir Fraser <keir@xensource.com>
date Thu Nov 08 16:27:03 2007 +0000 (2007-11-08)
parents 0ebac8576495
children ee935d2b8a63 0f792d2c7ee3
files tools/misc/xend
line diff
     1.1 --- a/tools/misc/xend	Thu Nov 08 15:32:14 2007 +0000
     1.2 +++ b/tools/misc/xend	Thu Nov 08 16:27:03 2007 +0000
     1.3 @@ -33,13 +33,12 @@ import signal
     1.4  import time
     1.5  import commands
     1.6  
     1.7 -xpp = os.path.join(os.path.dirname(sys.argv[0], 'xen-python-path'))
     1.8 +xpp = os.path.join(os.path.dirname(sys.argv[0]), 'xen-python-path')
     1.9  if os.path.exists(xpp):
    1.10      result = commands.getstatusoutput(xpp)
    1.11      if result[0] != 0:
    1.12          print >>sys.stderr, result[1]
    1.13          sys.exit(1)
    1.14 -
    1.15      sys.path.append(result[1])
    1.16  
    1.17  from xen.xend.server import SrvDaemon