aboutsummaryrefslogtreecommitdiffstats
path: root/yamlish.py
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2012-02-16 17:51:01 +0100
committerMatěj Cepl <mcepl@redhat.com>2012-02-16 17:51:01 +0100
commitf78eca9d4be9b3b7e1177823a9f520faa5b4055b (patch)
tree7dd5841d046557aa884483af9573958aa492f0d4 /yamlish.py
parent7d08baca38827b59af9592e415bc4778fb8c4958 (diff)
downloadyamlish-f78eca9d4be9b3b7e1177823a9f520faa5b4055b.tar.gz
More tests and deleted yamlishwriter-php (there is really nothing there).
Diffstat (limited to 'yamlish.py')
-rw-r--r--yamlish.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/yamlish.py b/yamlish.py
index 6b25d02..634811c 100644
--- a/yamlish.py
+++ b/yamlish.py
@@ -3,6 +3,8 @@
import yaml
import pprint
+__version__ = "0.1"
+
IN = """
---
bill-to:
@@ -72,6 +74,11 @@ class Reader(object):
def read(self, source):
pass
+class Writer(object):
+ def __init__(self):
+ pass
+
+ def write(self, source, destination):
+ pass
+
#print yaml.dump(OUT, canonical=False, default_flow_style=False, default_style=False)
-def read():
- pass