[Kimchi-devel] [PATCH] pep8 cleanup for exception.py

Daniel H Barboza danielhb at linux.vnet.ibm.com
Fri Jan 3 16:47:55 UTC 2014


Reviewed-by: Daniel Barboza <danielhb at linux.vnet.ibm.com>


On 12/27/2013 05:53 PM, Aline Manera wrote:
> From: Aline Manera <alinefm at br.ibm.com>
>
> This patch cleans up pep8 style issue in exception.py
>
> Signed-off-by: Aline Manera <alinefm at br.ibm.com>
> ---
>   Makefile.am             |    1 +
>   src/kimchi/exception.py |    7 ++++++-
>   2 files changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index 0fd92c8..3b8e494 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -43,6 +43,7 @@ PEP8_WHITELIST = \
>   	src/kimchi/cachebust.py \
>   	src/kimchi/config.py.in \
>   	src/kimchi/disks.py \
> +	src/kimchi/exception.py \
>   	src/kimchi/root.py \
>   	src/kimchi/server.py \
>   	plugins/__init__.py \
> diff --git a/src/kimchi/exception.py b/src/kimchi/exception.py
> index d7a2835..df9619f 100644
> --- a/src/kimchi/exception.py
> +++ b/src/kimchi/exception.py
> @@ -18,19 +18,24 @@
>   #
>   # You should have received a copy of the GNU Lesser General Public
>   # License along with this library; if not, write to the Free Software
> -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
> +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
> +
>
>   class NotFoundError(Exception):
>       pass
>
> +
>   class OperationFailed(Exception):
>       pass
>
> +
>   class MissingParameter(Exception):
>       pass
>
> +
>   class InvalidParameter(Exception):
>       pass
>
> +
>   class InvalidOperation(Exception):
>       pass




More information about the Kimchi-devel mailing list