On 12/21/2013 03:49 AM, andy pugh wrote:
> I am away from home, working on my Laptop. (Macbook Air with Ubuntu in a
> VM, the system that worked fine in Wichita).
> 
> I have checked out and compiled JA4, and I am trying to use the update_ini
> script (i.e, the one that works....)
> 
> Python is spitting out:
> andypugh@ubuntu:~/linuxcnc-dev/src$ update_ini
>   File "/home/andypugh/linuxcnc-dev/scripts/update_ini", line 118
>     halfiles += {'touchy.hal'}
>                              ^
> SyntaxError: invalid syntax
> 
> So, suddenly it doesn't like curly braces?
> <baffled>

Curly braces are for dicts, but it looks like you want to append to a
list?

If you want to append to a list, use square brackets:

halfiles += ['touchy.hal']


-- 
Sebastian Kuzminsky

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to