On 09/28/2014 09:41 AM, Thomas Goirand wrote: > On 09/28/2014 03:35 PM, Thomas Goirand wrote: >> After a long investigation, I have found out that, in python-pyscss, >> there's the following code in scss/expression.py: >> >> return String( >> six.u("%s(%s)" % (func_name, six.u(", ".join(rendered_args)))), >> quotes=None) >> >> If I remove the first six.u(), and the code becomes like this: >> >> return String( >> "%s(%s)" % (func_name, six.u(", ".join(rendered_args))), >> quotes=None) >> >> then everything works. Though this comes from a Debian specific patch >> for which I added the six.u() calls, to make it work in Python 3.2 in >> Wheezy. The original code is in fact: >> >> return String( >> u"%s(%s)" % (func_name, u", ".join(rendered_args)), >> quotes=None) >> >> So, could anyone help me fixing this? What's the way to make it always >> work? I wouldn't like to just drop Python 3.x support because of this... :( > > Ooooops, silly me. The parenthesis aren't correct. Fixing it made it all > work. Sorry for the noise, issue closed!
By the way, did you consider sending that python 3 patch upstream to the python-pyscss guys, so that you don't have to apply it manually every time? They are quite responsive. -- Radomir Dopieralski _______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev