eric5config.py

changeset 2965
d133c7edd88a
parent 945
8cd4d08fa9f6
child 3057
10516539f238
diff -r 84b65fb9e780 -r d133c7edd88a eric5config.py
--- a/eric5config.py	Sun Sep 29 15:54:10 2013 +0200
+++ b/eric5config.py	Sun Sep 29 18:22:08 2013 +0200
@@ -4,7 +4,7 @@
 #
 
 """
-Module containing the default configuration of the eric5 installation
+Module containing the default configuration of the eric5 installation.
 """
 
 import sys
@@ -31,14 +31,17 @@
 
 
 def getConfig(name):
-    '''
+    """
     Module function to get a configuration value.
 
     @param name the name of the configuration value (string).
-    '''
+    @return requested config value
+    @exception AttributeError raised to indicate an invalid config entry
+    """
     try:
         return _pkg_config[name]
     except KeyError:
         pass
 
-    raise AttributeError('"{0}" is not a valid configuration value'.format(name))
+    raise AttributeError(
+        '"{0}" is not a valid configuration value'.format(name))

eric ide

mercurial