diff src/core/exceptions.py @ 639:99eee75ec1b7

core: better handling of profile_key and don't write the param file anymore - new error ProfileNotSetError and some methods use the default @NONE@ instead of @DEFAULT@ - do not output the .sat/param file anymore, it is not needed and created confusion - plugin XEP-0054: remove an error message at startup
author souliane <souliane@mailoo.org>
date Thu, 05 Sep 2013 21:03:52 +0200
parents 694f118d0cd5
children e07afabc4a25
line wrap: on
line diff
--- a/src/core/exceptions.py	Thu Sep 05 20:57:00 2013 +0200
+++ b/src/core/exceptions.py	Thu Sep 05 21:03:52 2013 +0200
@@ -26,6 +26,13 @@
     pass
 
 
+class ProfileNotSetError(Exception):
+    """
+    This error raises when no profile has been set (value @NONE@ is found, but it should have been replaced)
+    """
+    pass
+
+
 class NotConnectedProfileError(Exception):
     pass