[orca/new-settings] Fix for the 'too many values to unpack' error
- From: Juanje Ojeda Croissier <jojeda src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/new-settings] Fix for the 'too many values to unpack' error
- Date: Tue, 26 Oct 2010 09:34:58 +0000 (UTC)
commit 2cb3d9bc0d58b232d0853f2da64ea9190f6a42b6
Author: Juanje Ojeda <jojeda emergya es>
Date: Tue Oct 26 11:34:35 2010 +0200
Fix for the 'too many values to unpack' error
src/orca/backends/yaml_backend.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/backends/yaml_backend.py b/src/orca/backends/yaml_backend.py
index b85ab81..9f37980 100644
--- a/src/orca/backends/yaml_backend.py
+++ b/src/orca/backends/yaml_backend.py
@@ -83,7 +83,7 @@ class Backend:
self._getSettings()
generalSettings = self.general
profileSettings = self.profiles[profile]
- for key, value in profileSettings:
+ for key, value in profileSettings.items():
if key not in ['pronunciations', 'keybindings']:
generalSettings[key] = value
return generalSettings
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]