[orca] Import profile now uses json



commit 0af5eee04a17a5ba6644ddb4283b05af90777610
Author: Javier Hernández Antúnez <jhernandez emergya es>
Date:   Thu Feb 3 19:44:44 2011 +0100

    Import profile now uses json

 src/orca/settings_manager.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/orca/settings_manager.py b/src/orca/settings_manager.py
index 1d1f751..7c2e8a2 100644
--- a/src/orca/settings_manager.py
+++ b/src/orca/settings_manager.py
@@ -30,7 +30,7 @@ __license__   = "LGPL"
 
 import os
 import imp
-from yaml import load
+from json import load
 
 import debug
 from keybindings import KeyBinding
@@ -52,13 +52,13 @@ class SettingsManager(object):
             cls.__instance = object.__new__(cls, *args, **kwargs)
         return cls.__instance
 
-    def __init__(self, backend='yaml'):
+    def __init__(self, backend='json'):
         """Initialize a SettingsManager Object.
         If backend isn't defined then uses default backend, in this
         case gconf-backend.
         backend parameter can use the follow values:
         backend='gconf'
-        backend='yaml'
+        backend='json'
         """
 
         self.backendModule = None



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]