~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/pidfile.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2012-01-06 12:11:50 UTC
  • mfrom: (14625.2.7 gina-dsc-binaries)
  • Revision ID: launchpad@pqm.canonical.com-20120106121150-e0bucmb5qeyytnn9
[r=wgrant][bug=911943] Fix SourcePackageReleaseDscBinariesUpdater:
        round chunk_size to int (and document this issue).

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
__metaclass__ = type
5
5
 
6
 
import tempfile
 
6
import atexit
7
7
import os
8
 
import atexit
 
8
from signal import (
 
9
    signal,
 
10
    SIGTERM,
 
11
    )
9
12
import sys
10
 
from signal import signal, SIGTERM
11
 
 
12
 
from canonical.config import config
 
13
import tempfile
 
14
 
 
15
from lp.services.config import config
 
16
 
13
17
 
14
18
def pidfile_path(service_name, use_config=None):
15
19
    """Return the full pidfile path for the given service