~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to buildmailman.py

  • Committer: William Grant
  • Date: 2012-01-01 03:20:03 UTC
  • mto: This revision was merged to the branch mainline in revision 14614.
  • Revision ID: william.grant@canonical.com-20120101032003-fnf5yqqv4f4xw27t
Other bits and pieces.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
# Copyright 2009, 2010 Canonical Ltd.  This software is licensed under the
4
4
# GNU Affero General Public License version 3 (see the file LICENSE).
5
5
 
 
6
import errno
 
7
import grp
6
8
import os
7
 
import grp
8
9
import pwd
 
10
import socket
 
11
import subprocess
9
12
import sys
10
 
import errno
11
 
import socket
12
13
import tempfile
13
 
import subprocess
 
14
 
 
15
from lazr.config import as_username_groupname
14
16
 
15
17
from lp.services.config import config
16
18
from lp.services.mailman.config import (
17
 
    configure_prefix, configure_siteowner)
 
19
    configure_prefix,
 
20
    configure_siteowner,
 
21
    )
18
22
from lp.services.mailman.monkeypatches import monkey_patch
19
 
from lazr.config import as_username_groupname
 
23
 
20
24
 
21
25
basepath = [part for part in sys.path if part]
22
26