~ubuntu-branches/debian/sid/zeroinstall-injector/sid

« back to all changes in this revision

Viewing changes to zeroinstall/injector/iface_cache.py

  • Committer: Package Import Robot
  • Author(s): Thomas Leonard
  • Date: 2012-02-12 15:19:54 UTC
  • mfrom: (1.1.28)
  • Revision ID: package-import@ubuntu.com-20120212151954-u5nef8c1381klr43
Tags: 1.6-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
                When all downloads are done (successful or otherwise), add any new keys
82
82
                to the keyring, L{recheck}.
83
83
                @param fetcher: fetcher to manage the download (was Handler before version 1.5)
84
 
                @type fetcher: L{fetcher.Fetcher}
 
84
                @type fetcher: L{fetch.Fetcher}
85
85
                @param key_mirror: URL of directory containing keys, or None to use feed's directory
86
86
                @type key_mirror: str
87
87
                """
519
519
                return [self.get_interface(uri) for uri in feed_targets]
520
520
 
521
521
        def is_stale(self, feed, freshness_threshold):
522
 
                """Check whether feed needs updating, based on the configured L{freshness}.
 
522
                """Check whether feed needs updating, based on the configured L{config.Config.freshness}.
523
523
                None is considered to be stale.
524
524
                If we already tried to update the feed within FAILED_CHECK_DELAY, returns false.
525
525
                @return: True if feed should be updated