Ignore:
Timestamp:
Feb 5, 2009, 3:19:30 AM (15 years ago)
Author:
broder
Message:

Get rid of confusing err=True option to invirt.remctl.remctl.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-base/python/invirt/remctl.py

    r1621 r2095  
    3737                         stderr=subprocess.PIPE)
    3838    v = p.wait()
    39     if kws.get('err'):
    40         return p.stdout.read(), p.stderr.read()
    4139    if v:
    42         print >> sys.stderr, 'Error', v, 'on remctl', args, ':'
    43         print >> sys.stderr, p.stderr.read()
    44         raise CodeError('ERROR on remctl')
     40        raise CodeError('ERROR on remctl %s:\n%s' % (args, p.stderr.read()), v)
    4541    return p.stdout.read()
Note: See TracChangeset for help on using the changeset viewer.