Changeset 2097 for trunk/packages/invirt-base/python/invirt/remctl.py
- Timestamp:
- Feb 5, 2009, 3:24:56 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-base/python/invirt/remctl.py
r2095 r2097 37 37 stderr=subprocess.PIPE) 38 38 v = p.wait() 39 if kws.get('err'): 40 return p.stdout.read(), p.stderr.read() 39 41 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') 41 45 return p.stdout.read()
Note: See TracChangeset
for help on using the changeset viewer.