Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 """Module containing update exceptions.""" | 5 """Module containing update exceptions.""" |
| 6 | 6 |
| 7 class UpdateException(Exception): | 7 class UpdateException(Exception): |
| 8 """Exception thrown when _UpdateImage or _UpdateUsingPayload fail""" | 8 """Exception thrown when _UpdateImage or _UpdateUsingPayload fail""" |
| 9 def __init__(self, code, stdout): | 9 def __init__(self, code, stdout): |
|
davidjames
2011/04/15 17:52:09
s/stdout/output/ since it includes all output. Can
sosa
2011/04/18 21:12:44
Done. Changed to output to be more vague. Doesn'
| |
| 10 super(UpdateException, self).__init__(stdout) | |
| 10 self.code = code | 11 self.code = code |
| 11 self.stdout = stdout | 12 self.stdout = stdout |
| OLD | NEW |