ia64/xen-unstable

changeset 1851:fd5d2b14cf2a

bitkeeper revision 1.1108.1.5 (40fe53dapXzTXD_9GRLEFYObr0GFXA)

Compensate for python not coercing to string.
author mjw@wray-m-3.hpl.hp.com
date Wed Jul 21 11:30:34 2004 +0000 (2004-07-21)
parents e50c97665b67
children 31198bacfb3d
files tools/python/xen/xend/XendClient.py
line diff
     1.1 --- a/tools/python/xen/xend/XendClient.py	Wed Jul 21 11:22:39 2004 +0000
     1.2 +++ b/tools/python/xen/xend/XendClient.py	Wed Jul 21 11:30:34 2004 +0000
     1.3 @@ -338,25 +338,25 @@ class Xend:
     1.4          return self.client.xendPost(url, data)
     1.5  
     1.6      def nodeurl(self, id=''):
     1.7 -        return self.url.relative('node/' + id)
     1.8 +        return self.url.relative('node/' + str(id))
     1.9  
    1.10      def domainurl(self, id=''):
    1.11 -        return self.url.relative('domain/' + id)
    1.12 +        return self.url.relative('domain/' + str(id))
    1.13  
    1.14      def consoleurl(self, id=''):
    1.15 -        return self.url.relative('console/' + id)
    1.16 +        return self.url.relative('console/' + str(id))
    1.17  
    1.18      def deviceurl(self, id=''):
    1.19 -        return self.url.relative('device/' + id)
    1.20 +        return self.url.relative('device/' + str(id))
    1.21  
    1.22      def vneturl(self, id=''):
    1.23 -        return self.url.relative('vnet/' + id)
    1.24 +        return self.url.relative('vnet/' + str(id))
    1.25  
    1.26      def eventurl(self, id=''):
    1.27 -        return self.url.relative('event/' + id)
    1.28 +        return self.url.relative('event/' + str(id))
    1.29  
    1.30      def dmesgurl(self, id=''):
    1.31 -        return self.url.relative('node/dmesg/' + id)
    1.32 +        return self.url.relative('node/dmesg/' + str(id))
    1.33  
    1.34      def xend(self):
    1.35          return self.xendGet(self.url)