# HG changeset patch
# User Laurent Bessard
# Date 1368170167 -7200
# Node ID 2225494acbf26fd510ec52f5bc86b86ddba4da56
# Parent  a8b095de63e839c17608ea895adbc88e4121af48
Fixed bug with global instance declaration

diff -r a8b095de63e8 -r 2225494acbf2 etherlab/EthercatCIA402Slave.py
--- a/etherlab/EthercatCIA402Slave.py	Fri May 10 08:44:05 2013 +0200
+++ b/etherlab/EthercatCIA402Slave.py	Fri May 10 09:16:07 2013 +0200
@@ -134,7 +134,7 @@
     
     def CTNGlobalInstances(self):
         current_location = self.GetCurrentLocation()
-        return [("%s_%s" % (block_infos["blocktype"], "_".join(map(str, current_location)), None),
+        return [("%s_%s" % (block_infos["blocktype"], "_".join(map(str, current_location))),
                  "EtherLab%s" % block_infos["blocktype"], "") for block_infos in GLOBAL_INSTANCES]
     
     def _getCIA402AxisRef(self):