[tryton-debian-vcs] relatorio branch upstream updated. upstream/0.6.2-2-g4dcf907
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Mon Dec 19 09:58:11 UTC 2016
The following commit has been merged in the upstream branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/relatorio.git;a=commitdiff;h=upstream/0.6.2-2-g4dcf907
commit 4dcf907cc682e4edfc66032c0351eaea172c210e
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Mon Dec 19 10:10:29 2016 +0100
Adding upstream version 0.6.4.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGES b/CHANGES
index f9bde02..cb9c92f 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+0.6.4 - 20161218
+* Use StringIO instead of BytesIO for TextSerializer result
+
0.6.3 - 20160629
* Update calcext:value-type with the same guessed type
* Register MarkupTemplate for 'markup' mimetype instead of 'xml'
diff --git a/PKG-INFO b/PKG-INFO
index 839fbac..5989c99 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: relatorio
-Version: 0.6.3
+Version: 0.6.4
Summary: A templating library able to output odt and pdf files
Home-page: http://relatorio.tryton.org/
Author: Cedric Krier
diff --git a/relatorio.egg-info/PKG-INFO b/relatorio.egg-info/PKG-INFO
index 839fbac..5989c99 100644
--- a/relatorio.egg-info/PKG-INFO
+++ b/relatorio.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: relatorio
-Version: 0.6.3
+Version: 0.6.4
Summary: A templating library able to output odt and pdf files
Home-page: http://relatorio.tryton.org/
Author: Cedric Krier
diff --git a/relatorio/__init__.py b/relatorio/__init__.py
index 7c23957..c5fee28 100644
--- a/relatorio/__init__.py
+++ b/relatorio/__init__.py
@@ -12,5 +12,5 @@ and report together, find reports by mimetypes/name/python objects.
from .reporting import MIMETemplateLoader, ReportRepository, Report
from . import templates
-__version__ = '0.6.3'
+__version__ = '0.6.4'
__all__ = ['MIMETemplateLoader', 'ReportRepository', 'Report', 'templates']
diff --git a/relatorio/templates/chart.py b/relatorio/templates/chart.py
index b937fd9..d11a99e 100644
--- a/relatorio/templates/chart.py
+++ b/relatorio/templates/chart.py
@@ -21,7 +21,7 @@
__metaclass__ = type
-from io import BytesIO
+from io import BytesIO, StringIO
import yaml
import genshi
@@ -66,7 +66,7 @@ class CairoSerializer:
def __call__(self, stream):
result = BytesIO()
- yml = BytesIO(_encode(self.text_serializer(stream)))
+ yml = StringIO(_encode(self.text_serializer(stream)))
chart_yaml = yaml.load(yml.read())
chart_info = chart_yaml['chart']
chart_type = chart_info['output_type']
--
relatorio
More information about the tryton-debian-vcs
mailing list