~free.ekanayaka/landscape-client/karmic-1.5.4-0ubuntu0.9.10.0

« back to all changes in this revision

Viewing changes to landscape/monitor/packagemonitor.py

  • Committer: Bazaar Package Importer
  • Author(s): Free Ekanayaka
  • Date: 2010-06-28 18:07:18 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20100628180718-g9l55c9c5bnch03b
Tags: 1.5.2.1-0ubuntu0.9.10.0
Filter duplicate network interfaces in get_active_interfaces (LP: #597000)

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
from landscape.package.store import PackageStore
7
7
from landscape.package.reporter import find_reporter_command
8
 
from landscape.monitor.monitor import MonitorPlugin
 
8
from landscape.monitor.plugin import MonitorPlugin
9
9
 
10
10
 
11
11
class PackageMonitor(MonitorPlugin):
81
81
        key.
82
82
        """
83
83
        task = self._package_store.add_task("reporter",
84
 
                                            {"type" : "resynchronize"})
 
84
                                            {"type": "resynchronize"})
85
85
        self._package_store.clear_tasks(except_tasks=(task,))
86
86
 
87
87
    def _server_uuid_changed(self, old_uuid, new_uuid):