Mercurial > hg > configuration
changeset 103:982a775bf3d2
call the proper method
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Tue, 01 May 2012 10:46:26 -0700 |
| parents | c530f6265deb |
| children | 9dd0ebcdbc62 |
| files | configuration/configuration.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configuration/configuration.py Tue May 01 10:33:37 2012 -0700 +++ b/configuration/configuration.py Tue May 01 10:46:26 2012 -0700 @@ -330,7 +330,7 @@ def default_config(self): """configuration defaults""" defaults = {} - for key, value in self.options.items(): + for key, value in self.items(): if 'default' in value: defaults[key] = value['default'] return copy.deepcopy(defaults)
