[python-wehjit] * Sat Jul 31 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 0.2.2-3 - Fix unittest failures on py
Toshio くらとみ
toshio at fedoraproject.org
Sat Jul 31 21:12:32 UTC 2010
commit 199801a6bbaac7e14eb6f1811805462bd60b01ea
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date: Sat Jul 31 17:12:25 2010 -0400
* Sat Jul 31 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 0.2.2-3
- Fix unittest failures on python-2.7
- Fix egg-info location
wehjit-py27.patch | 31 +++++++++++++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-)
---
diff --git a/wehjit-py27.patch b/wehjit-py27.patch
new file mode 100644
index 0000000..27b155e
--- /dev/null
+++ b/wehjit-py27.patch
@@ -0,0 +1,31 @@
+Index: wehjit-0.2.2/wehjit/styles.py
+===================================================================
+--- wehjit-0.2.2.orig/wehjit/styles.py
++++ wehjit-0.2.2/wehjit/styles.py
+@@ -247,7 +247,7 @@ class Styles(object):
+ For example:
+
+ >>> s = Styles()
+- >>> d = '{"styles": {"Menu": {"": {"color": "%(color_menu)s"}}}, "vars": {"color_menu": "#600"}}'
++ >>> d = u'{"styles": {"Menu": {"": {"color": "%(color_menu)s"}}}, "vars": {"color_menu": "#600"}}'
+ >>> s.loads(d)
+ >>> s.get('Menu', substitute=False)
+ {u'': {u'color': u'%(color_menu)s'}}
+@@ -257,7 +257,7 @@ class Styles(object):
+ Normally the style information provided in *data* will be merged with
+ the what is already present in the `Styles` instance. For example:
+
+- >>> s.loads('{"styles": {"Menu": {"": {"border": "1px solid black"}}}}')
++ >>> s.loads(u'{"styles": {"Menu": {"": {"border": "1px solid black"}}}}')
+ >>> s.get('Menu')
+ {u'': {u'color': u'#600', u'border': u'1px solid black'}}
+
+@@ -266,7 +266,7 @@ class Styles(object):
+ resulting in the `Styles` instance only containing the style information
+ defined in *data*. For example:
+
+- >>> s.loads('{"styles": {"Menu": {"": {"border": "1px solid black"}}}}',
++ >>> s.loads(u'{"styles": {"Menu": {"": {"border": "1px solid black"}}}}',
+ ... reset=True
+ ... )
+ >>> s.get('Menu')
More information about the scm-commits
mailing list