diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-04-11 16:05:01 +0000 |
---|---|---|
committer | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-04-15 09:28:29 +0000 |
commit | 12df30fb16202e79bbd85318a1d200cd84562584 (patch) | |
tree | ff97019a75d3b5786317801f68e0e364904896f3 | |
parent | e4285cf4941bdda445eb562af3169f54eeb6168b (diff) | |
download | morph-12df30fb16202e79bbd85318a1d200cd84562584.tar.gz |
Make auto-generated chunk morphologies be YAML not JSON
-rw-r--r-- | morphlib/buildsystem.py | 8 |
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, |