~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to scripts/publish-distro.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-09-22 15:27:32 UTC
  • mfrom: (9893.9.14 distinct-db-users)
  • Revision ID: launchpad@pqm.canonical.com-20110922152732-m8thejez0qei4599
[r=allenap, rvb][bug=815753] buildd-retry-depwait, process-accepted,
        process-death-row, process-upload,
        publish-disto connect as distinct database users.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
import _pythonpath
9
9
 
10
 
from canonical.config import config
11
10
from lp.soyuz.scripts.publishdistro import PublishDistro
12
11
 
13
12
 
14
13
if __name__ == "__main__":
15
 
    script = PublishDistro(dbuser=config.archivepublisher.dbuser)
 
14
    script = PublishDistro('publish-distro', dbuser='publish_distro')
16
15
    script.lock_and_run()