~radix/landscape-client/os-fixes

« back to all changes in this revision

Viewing changes to landscape/package/changer.py

  • Committer: Thomas Hervé
  • Date: 2013-02-28 10:09:09 UTC
  • Revision ID: thomas@canonical.com-20130228100909-zj074m8kzylid84p
Check the update notifier stamp file in the package changer to match the reporter behavior [trivial] [r=ack,bjornt]

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
        """
128
128
        Return a boolean indicating if the update-stamp stamp file exists.
129
129
        """
130
 
        return os.path.exists(self._config.update_stamp_filename)
 
130
        return (os.path.exists(self._config.update_stamp_filename) or
 
131
                os.path.exists(self.update_notifier_stamp))
131
132
 
132
133
    def _clear_binaries(self):
133
134
        """Remove any binaries and its associated channel."""