~ubuntu-branches/ubuntu/lucid/landscape-client/lucid-updates

« back to all changes in this revision

Viewing changes to landscape/service.py

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Hasenack
  • Date: 2010-09-20 13:52:49 UTC
  • mfrom: (1.2.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20100920135249-dl9pd7t9vr02bu0r
Tags: 1.5.5.1-0ubuntu0.10.04.0
The client network plugin would send erroneous data if a network
interface was removed (and its kernel module removed as well) and
then readded (LP: #641264).

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
        self.port = self.reactor.listen_unix(self.socket, self.factory)
46
46
 
47
47
    def stopService(self):
48
 
        self.port.stopListening()
 
48
        # We don't need to call port.stopListening(), because the reactor
 
49
        # shutdown sequence will do that for us.
49
50
        Service.stopService(self)
50
51
        logging.info("%s stopped with config %s" % (
51
52
            self.service_name.capitalize(), self.config.get_config_filename()))