~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to scripts/ftpmaster-tools/initialize-from-parent.py

  • Committer: Raphael Badin
  • Date: 2011-07-22 15:21:19 UTC
  • mto: This revision was merged to the branch mainline in revision 13505.
  • Revision ID: raphael.badin@canonical.com-20110722152119-2xnngya4lmqpkm1e
Use initializedistroseries user instead of archivepublisher to run initialize-from-parent.

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
    log.debug("Initializing connection.")
64
64
 
65
65
    execute_zcml_for_scripts()
66
 
    ztm = initZopeless(dbuser=config.archivepublisher.dbuser)
 
66
    ztm = initZopeless(dbuser=config.initializedistroseries.dbuser)
67
67
 
68
68
    try:
69
69
        # 'ubuntu' is the default option.distribution value