/[collab-qa]/udd/udd/packages_gatherer.py
ViewVC logotype

Diff of /udd/udd/packages_gatherer.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1106 by neronus-guest, Sun Aug 17 12:24:24 2008 UTC revision 1107 by lucas, Sun Aug 17 12:43:03 2008 UTC
# Line 186  class packages_gatherer(gatherer): Line 186  class packages_gatherer(gatherer):
186            print "Could not read packages from %s: %s" % (path, message)            print "Could not read packages from %s: %s" % (path, message)
187          cur.execute("DEALLOCATE package_insert")          cur.execute("DEALLOCATE package_insert")
188      # Fill the summary tables      # Fill the summary tables
189      cur.execute("TRUNCATE %s" % (table + '_summary'));      cur.execute("DELETE FROM %s" % (table + '_summary'));
190      cur.execute("""INSERT INTO %s SELECT DISTINCT ON (package, version,      cur.execute("""INSERT INTO %s SELECT DISTINCT ON (package, version,
191        distribution, release, component) package, version, source,        distribution, release, component) package, version, source,
192        source_version, maintainer, distribution, release, component FROM %s""" %        source_version, maintainer, distribution, release, component FROM %s""" %

Legend:
Removed from v.1106  
changed lines
  Added in v.1107

  ViewVC Help
Powered by ViewVC 1.1.5