Fixed error message

This commit is contained in:
Yentl Van Tendeloo 2017-08-24 18:43:44 +02:00
parent 94b9296d6b
commit a3050e5f1d

View file

@ -657,10 +657,10 @@ class CoupledDEVS(BaseDEVS):
" '%s' and '%s' belong to the same model" + " '%s' and '%s' belong to the same model" +
" '%s'. " + " '%s'. " +
" Direct feedback coupling not allowed") % ( " Direct feedback coupling not allowed") % (
self.getModelFullName(), self.getModelName(),
p1.getPortFullName(), p1.getPortName(),
p2.getPortFullName(), p2.getPortName(),
p1.host_DEVS.getModelFullName())) p1.host_DEVS.getModelName()))
else: else:
p1.outline.append(p2) p1.outline.append(p2)
p2.inline.append(p1) p2.inline.append(p1)