summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2014-04-11 16:05:01 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2014-04-15 09:20:26 +0000
commit9ea9f7b5ae9b7a20bf34c3901fcfd059c9619319 (patch)
treeb5728d8f2f940979fdc197dc7a37a6623cd063e0
parenta4bf96b0bf29928e4e4aa3690261236fa31e80a0 (diff)
downloadmorph-9ea9f7b5ae9b7a20bf34c3901fcfd059c9619319.tar.gz
Make auto-generated chunk morphologies be YAML not JSON
-rw-r--r--morphlib/buildsystem.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/morphlib/buildsystem.py b/morphlib/buildsystem.py
index 90cc15c2..1a330568 100644
--- a/morphlib/buildsystem.py
+++ b/morphlib/buildsystem.py
@@ -53,11 +53,9 @@ class BuildSystem(object):
'''Return the text of an autodetected chunk morphology.'''
return '''
- {
- "name": "%(name)s",
- "kind": "chunk",
- "build-system": "%(bs)s"
- }
+ name: %(name)s
+ kind: chunk
+ build-system: %(bs)s
''' % {
'name': name,
'bs': self.name,