[Erp5-report] r45845 kazuhiko - in /erp5/trunk/utils/Products.DCWorkflowGraph: ./ Products/...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed May 11 10:47:14 CEST 2011
Author: kazuhiko
Date: Wed May 11 10:47:14 2011
New Revision: 45845
URL: http://svn.erp5.org?rev=45845&view=rev
Log:
* Fallback to the default encoding 'utf-8' if site_properties is missing.
Modified:
erp5/trunk/utils/Products.DCWorkflowGraph/Products/DCWorkflowGraph/DCWorkflowGraph.py
erp5/trunk/utils/Products.DCWorkflowGraph/docs/HISTORY.txt
erp5/trunk/utils/Products.DCWorkflowGraph/setup.py
Modified: erp5/trunk/utils/Products.DCWorkflowGraph/Products/DCWorkflowGraph/DCWorkflowGraph.py
URL: http://svn.erp5.org/erp5/trunk/utils/Products.DCWorkflowGraph/Products/DCWorkflowGraph/DCWorkflowGraph.py?rev=45845&r1=45844&r2=45845&view=diff
==============================================================================
--- erp5/trunk/utils/Products.DCWorkflowGraph/Products/DCWorkflowGraph/DCWorkflowGraph.py [utf8] (original)
+++ erp5/trunk/utils/Products.DCWorkflowGraph/Products/DCWorkflowGraph/DCWorkflowGraph.py [utf8] Wed May 11 10:47:14 2011
@@ -115,7 +115,10 @@ def getGraph(self, wf_id="", format="png
"OpenFlowEditor":http://www.openflow.it/wwwopenflow/Download/OpenFlowEditor_0_4.tgz
"""
pot = getPOT(self, wf_id, REQUEST)
- encoding = self.portal_properties.site_properties.getProperty('default_charset', 'utf-8')
+ try:
+ encoding = self.portal_properties.site_properties.getProperty('default_charset', 'utf-8')
+ except AttributeError:
+ encoding = 'utf-8'
pot = pot.encode(encoding)
infile = mktemp('.dot')
f = open(infile, 'w')
Modified: erp5/trunk/utils/Products.DCWorkflowGraph/docs/HISTORY.txt
URL: http://svn.erp5.org/erp5/trunk/utils/Products.DCWorkflowGraph/docs/HISTORY.txt?rev=45845&r1=45844&r2=45845&view=diff
==============================================================================
--- erp5/trunk/utils/Products.DCWorkflowGraph/docs/HISTORY.txt [utf8] (original)
+++ erp5/trunk/utils/Products.DCWorkflowGraph/docs/HISTORY.txt [utf8] Wed May 11 10:47:14 2011
@@ -3,6 +3,11 @@ Changelog
(Developer name in brackets)
+0.4nxd001 - Release
+-------------
+
+* Fallback to the default encoding 'utf-8' if site_properties is missing.
+
0.4 - Release
-------------
Modified: erp5/trunk/utils/Products.DCWorkflowGraph/setup.py
URL: http://svn.erp5.org/erp5/trunk/utils/Products.DCWorkflowGraph/setup.py?rev=45845&r1=45844&r2=45845&view=diff
==============================================================================
--- erp5/trunk/utils/Products.DCWorkflowGraph/setup.py [utf8] (original)
+++ erp5/trunk/utils/Products.DCWorkflowGraph/setup.py [utf8] Wed May 11 10:47:14 2011
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
import os
-version = '0.4'
+version = '0.4nxd001'
setup(name='Products.DCWorkflowGraph',
version=version,
More information about the Erp5-report
mailing list