Author: reinhard
Date: 2005-08-09 12:41:07 -0500 (Tue, 09 Aug 2005)
New Revision: 7808
Modified:
trunk/gnue-common/src/datasources/GLoginHandler.py
Log:
Cleanup.
Modified: trunk/gnue-common/src/datasources/GLoginHandler.py
===================================================================
--- trunk/gnue-common/src/datasources/GLoginHandler.py 2005-08-09 17:27:24 UTC
(rev 7807)
+++ trunk/gnue-common/src/datasources/GLoginHandler.py 2005-08-09 17:41:07 UTC
(rev 7808)
@@ -24,6 +24,8 @@
Classes for login handlers.
"""
+__all__ = ['UserCanceledLogin', 'LoginHandler', 'BasicLoginHandler']
+
import getpass
from gnue.common.apps import errors
@@ -250,6 +252,10 @@
# =============================================================================
class SilentLoginHandler (LoginHandler):
+ """
+ Implementation of a login handler that gets all data preset via parameter and
+ doesn't communicate with the user at all.
+ """
# ---------------------------------------------------------------------------
# Create a new instance
@@ -259,7 +265,7 @@
"""
Provides all given keywords as login data.
@param keywords: all keys and values given by this dictionary are available
- as 'login data' and will be returned if requested by askLogin ()
+ as 'login data' and will be returned if requested by askLogin ()
"""
self.__loginData = keywords
_______________________________________________
Commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue