# HG changeset patch # User Laurent Bessard # Date 1381474490 -7200 # Node ID fe7770a305271fd4b683f6b2697f143ef31eb69a # Parent b8d577c7eb4be33991cfe9096d03d21ca25012b7 Fixed bug when building project with configuration extra variables diff -r b8d577c7eb4b -r fe7770a30527 PLCGenerator.py --- a/PLCGenerator.py Thu Oct 10 17:43:11 2013 +0200 +++ b/PLCGenerator.py Fri Oct 11 08:54:50 2013 +0200 @@ -326,7 +326,7 @@ configuration.remove(extra_global_vars) else: for variable in extra_variables: - varlists[-1][1].remove(variable) + varlists[-1][0].remove(variable) # Generate any resource in the configuration for resource in configuration.getresource():