git://git.onelab.eu
/
bootmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reguire gnupg1 on f>=31; sense the system to use gpg1 when installed
[bootmanager.git]
/
source
/
Exceptions.py
diff --git
a/source/Exceptions.py
b/source/Exceptions.py
index
9fa5301
..
5f99442
100644
(file)
--- a/
source/Exceptions.py
+++ b/
source/Exceptions.py
@@
-1,5
+1,5
@@
-#!/usr/bin/python
-
+#!/usr/bin/python
2
+#
# Copyright (c) 2003 Intel Corporation
# All rights reserved.
#
# Copyright (c) 2003 Intel Corporation
# All rights reserved.
#
@@
-7,9
+7,15
@@
# All rights reserved.
class BootManagerException(Exception):
# All rights reserved.
class BootManagerException(Exception):
- def __init__(
self, err
):
+ def __init__(
self, err
):
self.__fault= err
self.__fault= err
- def __str__(
self
):
+ def __str__(
self
):
return self.__fault
return self.__fault
+class BootManagerAuthenticationException(Exception):
+ def __init__(self, err):
+ self.__fault= err
+
+ def __str__(self):
+ return self.__fault