dump yaml somewhat correctly

This commit is contained in:
Martin Baeuml
2011-05-25 00:58:37 +02:00
parent e881e738ce
commit ba65a6ff84
+1 -1
View File
@@ -154,7 +154,7 @@ class YAMLContainer(AnnotationContainer):
def save(self, fname):
f = open(fname, "w")
yaml.dump(self.annotations(), f, indent=4)
yaml.dump(self.annotations(), f)
self.filename_ = fname
class FeretContainer(AnnotationContainer):