[apycotlib] use writer.raw instead of removed writer.version draft
authorDavid Douard <david.douard@logilab.fr>
Thu, 13 Nov 2014 14:00:29 +0100
changeset 1741 b89dc2e234ff
parent 1740 f3137466457a
child 1742 3cdc3ef300a4
[apycotlib] use writer.raw instead of removed writer.version
_apycotlib/__init__.py
--- a/_apycotlib/__init__.py	Fri Nov 14 12:51:47 2014 +0100
+++ b/_apycotlib/__init__.py	Thu Nov 13 14:00:29 2014 +0100
@@ -157,7 +157,7 @@
         self.status = self.merge_status(self.status, status)
 
     def record_version_info(self, versionof, version):
-        self.writer.info(version, path=versionof)
+        self.writer.raw(versionof, version, 'version')
 
     def check_options(self):
         """check mandatory options have a value (I know I know...) and set