[orca] Changed the rest of old yaml's related stuff into json



commit 7396b99f801d83ea2ece43519a92096544e6c1e9
Author: Javier Hernández Antúnez <jhernandez emergya es>
Date:   Thu Feb 3 19:47:06 2011 +0100

    Changed the rest of old yaml's related stuff into json

 README                        |    2 +-
 configure.in                  |    2 +-
 test/harness/settings_test.py |    6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/README b/README
index 0347705..5c6508e 100644
--- a/README
+++ b/README
@@ -38,7 +38,7 @@ to be installed:
 * pyorbit          - Python bindings for ORBit2
 * pygtk            - GTK+ Python bindings
 * pygobject        - Python bindings for the GObject library
-* pyyaml           - YAML parser and emitter for Python
+* json-py          - a JSON (http://json.org) reader and writer in Python
 * pyxdg            - Python library to access freedesktop.org standards
 * gnome-python     - Python bindings for various GNOME libraries
 * gnome-speech-1.0 - Python bindings for gnome-speech (optional)
diff --git a/configure.in b/configure.in
index 7bd5ee0..7b06167 100644
--- a/configure.in
+++ b/configure.in
@@ -56,7 +56,7 @@ AM_CHECK_PYMOD(dbus,,,[AC_MSG_ERROR(Could not find python module: dbus)])
 AM_CHECK_PYMOD(pyatspi,,,[AC_MSG_ERROR(Could not find python module: pyatspi)])
 AM_CHECK_PYMOD(cairo,,,[AC_MSG_ERROR(Could not find python module: cairo)])
 AM_CHECK_PYMOD(pango,,,[AC_MSG_ERROR(Could not find python module: pango)])
-AM_CHECK_PYMOD(yaml,,,[AC_MSG_ERROR(Could not find python module: yaml)])
+AM_CHECK_PYMOD(json,,,[AC_MSG_ERROR(Could not find python module: json)])
 AM_CHECK_PYMOD(xdg,,,[AC_MSG_ERROR(Could not find python module: xdg)])
 AM_CHECK_PYMOD(wnck,,[wnck_available="yes"],[wnck_available="no"])
 AM_CHECK_PYORBIT_MOD(GNOME_Speech,[gnome_speech_available="yes"],[gnome_speech_available="no"])
diff --git a/test/harness/settings_test.py b/test/harness/settings_test.py
index a566c06..662b5f5 100644
--- a/test/harness/settings_test.py
+++ b/test/harness/settings_test.py
@@ -1,5 +1,5 @@
 from orca import settings_manager
-from yaml import load, dump
+from json import load, dump
 from pprint import pprint
 
 def exerciseBackendAPI(backendName, profile):
@@ -90,8 +90,8 @@ def getSettingsFromFile(dictName):
 
 # main
 profile = 'default'
-print 'profile: default backendName: yaml\n'
-exerciseBackendAPI('yaml', 'default')
+print 'profile: default backendName: json\n'
+exerciseBackendAPI('json', 'default')
 #print 'profile: default backendName: gconf\n'
 #exerciseBackendAPI('gconf', 'default')
 #exerciseBackendAPI('default', 'gsettings', s)



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