ia64/xen-unstable

changeset 2266:a63157177284

bitkeeper revision 1.1159.38.2 (4123547bJFXytNlVQreftqrfASgQAA)

Fix args to migrate.
author mjw@wray-m-3.hpl.hp.com
date Wed Aug 18 13:07:07 2004 +0000 (2004-08-18)
parents af0729973950
children 45db83f2cdd0
files tools/python/xen/xm/main.py tools/python/xen/xm/migrate.py
line diff
     1.1 --- a/tools/python/xen/xm/main.py	Wed Aug 18 09:17:07 2004 +0000
     1.2 +++ b/tools/python/xen/xm/main.py	Wed Aug 18 13:07:07 2004 +0000
     1.3 @@ -305,7 +305,7 @@ class ProgMigrate(Prog):
     1.4          migrate.help([self.name] + args)
     1.5      
     1.6      def main(self, args):
     1.7 -        migrate.main([self.name] + args)
     1.8 +        migrate.main(args)
     1.9  
    1.10  xm.prog(ProgMigrate)
    1.11  
     2.1 --- a/tools/python/xen/xm/migrate.py	Wed Aug 18 09:17:07 2004 +0000
     2.2 +++ b/tools/python/xen/xm/migrate.py	Wed Aug 18 13:07:07 2004 +0000
     2.3 @@ -33,7 +33,7 @@ def main(argv):
     2.4          opts.usage()
     2.5          return
     2.6      if len(args) != 2:
     2.7 -        opts.err('Invalid arguments')
     2.8 +        opts.err('Invalid arguments: ' + str(args))
     2.9      dom = args[0]
    2.10      dst = args[1]
    2.11      if dom in [DOM0_NAME, DOM0_ID]: