diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-10-05 21:42:16 +0200 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-10-05 21:42:16 +0200 |
commit | a47026057cd99a0e1eb34d51ed644cc66ae20bc6 (patch) | |
tree | 5a2b250f50aa8239ac98377817410cdae6a267e5 /src/Gui/ABRTExceptions.py | |
parent | a56b047e24bbf96879e77f51867b96d515cdbfa6 (diff) | |
download | abrt-a47026057cd99a0e1eb34d51ed644cc66ae20bc6.tar.gz abrt-a47026057cd99a0e1eb34d51ed644cc66ae20bc6.tar.xz abrt-a47026057cd99a0e1eb34d51ed644cc66ae20bc6.zip |
removed unsecure reading/writting from ~HOME directory
- daemon eunning under root can't read/write from ~HOME, so
reading/writting config files have been moved to client (GUI)
- uses gnome keyring to store the credentials
Diffstat (limited to 'src/Gui/ABRTExceptions.py')
-rw-r--r-- | src/Gui/ABRTExceptions.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/Gui/ABRTExceptions.py b/src/Gui/ABRTExceptions.py index 791654f5..30496384 100644 --- a/src/Gui/ABRTExceptions.py +++ b/src/Gui/ABRTExceptions.py @@ -2,14 +2,23 @@ from abrt_utils import _ class IsRunning(Exception): def __init__(self): + Exception.__init__(self) self.what = _("Another client is already running, trying to wake it.") def __str__(self): return self.what class WrongData(Exception): def __init__(self): + Exception.__init__(self) self.what = _("Got unexpected data from daemon (is the database properly updated?).") def __str__(self): return self.what - + +class ConfBackendInitError(Exception): + def __init__(self, msg): + Exception.__init__(self) + self.what = msg + + def __str__(self): + return self.what |