From be022dac797b38c189d40240be92f3268e991332 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Sun, 4 Apr 2010 09:30:52 -0300 Subject: [PATCH] Makes the network name available straight out of the bat. --- mitterlib/network/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mitterlib/network/__init__.py b/mitterlib/network/__init__.py index b1de9a3..1361395 100644 --- a/mitterlib/network/__init__.py +++ b/mitterlib/network/__init__.py @@ -230,6 +230,7 @@ class Networks(object): for shortcut in self._targets(network): for message in self.networks[shortcut].messages(): message.network = shortcut + message.network_name = self.networks[shortcut].NAMESPACE result.append(message) self._operations += 1 # don't check the operations count inside the loop; if Mitter