~brian-murray/merge-o-matic/linkify-uploader

« back to all changes in this revision

Viewing changes to update-pool.py

  • Committer: Colin Watson
  • Date: 2012-05-22 14:58:09 UTC
  • Revision ID: cjwatson@canonical.com-20120522145809-73wfb6fzltpqevt0
update-pool.py: Don't re-download source packages that we've already processed and expired.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
                    if options.package is not None \
54
54
                           and source["Package"] not in options.package:
55
55
                        continue
 
56
                    changes_filename = changes_file(distro, source)
 
57
                    if (os.path.isfile(changes_filename) or
 
58
                        os.path.isfile(changes_filename + ".bz2")):
 
59
                        # It looks as though we've already processed and
 
60
                        # expired this.
 
61
                        continue
56
62
                    update_pool(distro, source)
57
63
 
58
64