[GRASS-user] grass72 or higher on RHEL6
Vaclav Petras
wenzeslaus at gmail.com
Thu Feb 2 07:46:31 PST 2017
On Thu, Feb 2, 2017 at 9:40 AM, Vaclav Petras <wenzeslaus at gmail.com> wrote:
> On Thu, Feb 2, 2017 at 2:47 AM, joerg robl <joerg.robl at gmail.com> wrote:
>
>> ret.append('name={}'.format(tnode.get('name').strip()))
>> ValueError: zero length field name in format
>>
>
>
> This is Python 2.6 versus 2.7. I'll look into that.
>
Please (thoroughly) test r70476.
https://trac.osgeo.org/grass/changeset/70476
I did the basic changes using the following command:
for F in `grep --exclude-dir={.svn,.git,OBJ.*,locale,dist.*,html,latex,build}
-IrnE "\{\}.*format" | grep -Ev "\s#" | sed -e "s+\([^:]*\).*+\1+g" | grep
-E "\.py$" | uniq`; do sed -ie "s+\({}\)\([^{}]*\.format\)+{0}\2+g" $F;
done;
and then reviewed the rest using:
grep --exclude-dir={.svn,.git,OBJ.*,locale,dist.*,html,latex,build} -IrnE
"\{\}"
Vaclav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20170202/4a872dd6/attachment-0001.html>
More information about the grass-user
mailing list