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

For now, revert r2093-2095, which were committed by accident; I'm not
comfortable with them sitting on HEAD when I don't have time to test
them.

Location:
trunk/packages/invirt-base
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-base/debian/changelog

    r2095 r2097  
    1 invirt-base (0.0.21) unstable; urgency=low
    2 
    3   * Get rid of confusing err=True option to invirt.remctl.remctl
    4 
    5  -- Evan Broder <broder@mit.edu>  Fri, 30 Jan 2009 19:49:46 -0500
    6 
    71invirt-base (0.0.20) unstable; urgency=low
    82
  • trunk/packages/invirt-base/python/invirt/common.py

    r2095 r2097  
    7676class CodeError(Exception):
    7777    """Exception for internal errors or bad faith input."""
    78     def __init__(self, message, code=None):
    79         Exception.__init__(self, message)
    80         self.code = code
     78    pass
    8179
    8280#
  • trunk/packages/invirt-base/python/invirt/remctl.py

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