~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to buildmailman.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2012-01-06 23:29:30 UTC
  • mfrom: (14646.3.2 unassign-bugs-0)
  • Revision ID: launchpad@pqm.canonical.com-20120106232930-0t6v7pj0nn2k5e89
[r=bac][bug=910876] Permit logged in users to unassign bugs.

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 canonical.config import config
 
14
 
 
15
from lazr.config import as_username_groupname
 
16
 
 
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