Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[MBI] Make a real copy of 'patterns' into 'replace'.
[simgrid.git] / teshsuite / smpi / MBI / RMAP2PGlobalConcurrencyGenerator.py
index f6a239f..fee996d 100755 (executable)
@@ -113,7 +113,7 @@ for p in gen.put + gen.get:
             patterns['operation2'] = gen.operation[s]("2") #send
             patterns['operation3'] = gen.operation[r]("3") #recv
 
-            replace = patterns
+            replace = patterns.copy()
             replace['shortdesc'] = 'Global Concurrency error.'
             replace['longdesc'] = 'Global Concurrency error. Concurrent access of variable winbuf by @{p}@ and @{r}@'
             replace['outcome'] = 'ERROR: GlobalConcurrency'