Browse Source

Makes the network name available straight out of the bat.

master
Julio Biason 15 years ago
parent
commit
be022dac79
  1. 1
      mitterlib/network/__init__.py

1
mitterlib/network/__init__.py

@ -230,6 +230,7 @@ class Networks(object):
for shortcut in self._targets(network): for shortcut in self._targets(network):
for message in self.networks[shortcut].messages(): for message in self.networks[shortcut].messages():
message.network = shortcut message.network = shortcut
message.network_name = self.networks[shortcut].NAMESPACE
result.append(message) result.append(message)
self._operations += 1 self._operations += 1
# don't check the operations count inside the loop; if Mitter # don't check the operations count inside the loop; if Mitter

Loading…
Cancel
Save