Revision 98dfcaff lib/errors.py
b/lib/errors.py | ||
---|---|---|
1 | 1 |
# |
2 | 2 |
# |
3 | 3 |
|
4 |
# Copyright (C) 2006, 2007, 2008, 2009, 2010 Google Inc. |
|
4 |
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Google Inc.
|
|
5 | 5 |
# |
6 | 6 |
# This program is free software; you can redistribute it and/or modify |
7 | 7 |
# it under the terms of the GNU General Public License as published by |
... | ... | |
482 | 482 |
error = GetEncodedError(result) |
483 | 483 |
if error: |
484 | 484 |
(errcls, args) = error |
485 |
raise errcls(args) |
|
485 |
# pylint: disable=W0142 |
|
486 |
raise errcls(*args) |
Also available in: Unified diff