aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvidon2004-10-21 12:57:46 +0000
committervidon2004-10-21 12:57:46 +0000
commit50f8a33467ad5cc0b1ef1b4220fc4fc6315ab1a5 (patch)
treec2651d1d557f0905756627e7b1c2f4cf1ce83027
parentb4383b8a52cd1cb19a8a09720a2b3f560aa936ad (diff)
downloadivycpy-50f8a33467ad5cc0b1ef1b4220fc4fc6315ab1a5.zip
ivycpy-50f8a33467ad5cc0b1ef1b4220fc4fc6315ab1a5.tar.gz
ivycpy-50f8a33467ad5cc0b1ef1b4220fc4fc6315ab1a5.tar.bz2
ivycpy-50f8a33467ad5cc0b1ef1b4220fc4fc6315ab1a5.tar.xz
Correction d'un bogue qui touchait le dictionnaire des IvyClients des instances de Ivy
-rw-r--r--ivy.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/ivy.py b/ivy.py
index 869239b..dcb5b3a 100644
--- a/ivy.py
+++ b/ivy.py
@@ -94,7 +94,7 @@ class Ivy:
ivyClient=Ivy.IvyClient(ivyclient)
self.dIvyClient[ivyclient]=ivyClient
else:
- ivyClient=dIvyClient[ivyclient]
+ ivyClient=self.dIvyClient[ivyclient]
if connected == ivycpy.IvyApplicationConnected:
self._connect(ivyClient)
@@ -116,7 +116,7 @@ class Ivy:
def _die(self,ivyclient):
try:
try:
- ivyClient=dIvyClient[ivyclient]
+ ivyClient=self.dIvyClient[ivyclient]
except KeyError:
ivyClient=Ivy.IvyClient(ivyclient)
self.dIvyClient[ivyclient]=ivyClient
@@ -130,7 +130,7 @@ class Ivy:
def _directMessage(self, ivyclient, *arg):
try:
try:
- ivyClient=dIvyClient[ivyclient]
+ ivyClient=self.dIvyClient[ivyclient]
except KeyError:
ivyClient=Ivy.IvyClient(ivyclient)
self.dIvyClient[ivyclient]=ivyClient
@@ -175,7 +175,7 @@ class Ivy:
def getIvyClientsByName(self, name):
ivyclient=ivycpy.IvyGetApplication(name)
try:
- ivyClient=dIvyClient[ivyclient]
+ ivyClient=self.dIvyClient[ivyclient]
except KeyError:
ivyClient=IvyClient(ivyclient)
self.dIvyClient[ivyclient]=ivyClient
@@ -223,7 +223,7 @@ class IvyApplicationAdapter :
pass
class IvyMessageAdapter:
- def receive(self, *arg):
+ def receive(self, client, *arg):
pass
class IvyException :