diff options
author | vidon | 2004-10-21 12:57:46 +0000 |
---|---|---|
committer | vidon | 2004-10-21 12:57:46 +0000 |
commit | 50f8a33467ad5cc0b1ef1b4220fc4fc6315ab1a5 (patch) | |
tree | c2651d1d557f0905756627e7b1c2f4cf1ce83027 | |
parent | b4383b8a52cd1cb19a8a09720a2b3f560aa936ad (diff) | |
download | ivycpy-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.py | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 : |