diff options
| author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-02-15 00:07:14 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-04 23:18:17 +0000 |
| commit | f8a4bd99503f5b63bbc748fedd4b7f32afbf0cb7 (patch) | |
| tree | 83d71805728280c9d95400833d3cf291269692e0 /scripts/lib/wic/errors.py | |
| parent | af17aa91b32421100d8898a7c95049068e8e0e26 (diff) | |
| download | poky-f8a4bd99503f5b63bbc748fedd4b7f32afbf0cb7.tar.gz | |
wic: move WicError to lib/wic/__init__.py
Removed unused exceptions from error.py
Moved definition of WicError to lib/wic/__init__.py
(From OE-Core rev: 15442d072bb6d93bd9b941726f93262503053da5)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/errors.py')
| -rw-r--r-- | scripts/lib/wic/errors.py | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/scripts/lib/wic/errors.py b/scripts/lib/wic/errors.py deleted file mode 100644 index d1b514dd9d..0000000000 --- a/scripts/lib/wic/errors.py +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | #!/usr/bin/env python -tt | ||
| 2 | # | ||
| 3 | # Copyright (c) 2007 Red Hat, Inc. | ||
| 4 | # Copyright (c) 2011 Intel, Inc. | ||
| 5 | # | ||
| 6 | # This program is free software; you can redistribute it and/or modify it | ||
| 7 | # under the terms of the GNU General Public License as published by the Free | ||
| 8 | # Software Foundation; version 2 of the License | ||
| 9 | # | ||
| 10 | # This program is distributed in the hope that it will be useful, but | ||
| 11 | # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
| 12 | # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
| 13 | # for more details. | ||
| 14 | # | ||
| 15 | # You should have received a copy of the GNU General Public License along | ||
| 16 | # with this program; if not, write to the Free Software Foundation, Inc., 59 | ||
| 17 | # Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 18 | |||
| 19 | class WicError(Exception): | ||
| 20 | pass | ||
| 21 | |||
| 22 | class CreatorError(WicError): | ||
| 23 | pass | ||
| 24 | |||
| 25 | class Usage(WicError): | ||
| 26 | pass | ||
| 27 | |||
| 28 | class ImageError(WicError): | ||
| 29 | pass | ||
