--- a/eric5config.py Tue Oct 15 22:03:54 2013 +0200 +++ b/eric5config.py Fri Oct 18 23:00:41 2013 +0200 @@ -4,7 +4,7 @@ # """ -Module containing the default configuration of the eric5 installation +Module containing the default configuration of the eric5 installation. """ from __future__ import unicode_literals # __IGNORE_WARNING__ @@ -33,14 +33,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))