Did I find the right examples for you? yes no

All Samples(14)  |  Call(8)  |  Derive(0)  |  Import(6)

src/g/a/gaffer-0.5.2/gaffer/httpclient/process.py   gaffer(Download)
import json
 
from ..util import (is_ssl, parse_ssl_options, parse_signal_value)
from .websocket import IOChannel
from .util import make_uri
        # we parse the signal at the client level to reduce the time we pass
        # in the server.
        signum =  parse_signal_value(sig)
 
        # make the request

src/g/a/gaffer-HEAD/gaffer/httpclient/process.py   gaffer(Download)
import json
 
from ..util import (is_ssl, parse_ssl_options, parse_signal_value)
from .websocket import IOChannel
from .util import make_uri
        # we parse the signal at the client level to reduce the time we pass
        # in the server.
        signum =  parse_signal_value(sig)
 
        # make the request

src/g/a/gaffer-0.5.2/gaffer/manager.py   gaffer(Download)
from .state import ProcessState, ProcessTracker
from .sync import increment
from .util import parse_signal_value
 
 
    def kill(self, pid, sig):
        """ send a signal to a process """
        signum = parse_signal_value(sig)
        with self._lock:
            p = self._get_pid(pid)
    def killall(self, name, sig):
        """ send a signal to all processes of a job """
        signum = parse_signal_value(sig)
        sessionid, name = self._parse_name(name)
        pname = "%s.%s" % (sessionid, name)

src/g/a/gaffer-0.5.2/gaffer/httpclient/job.py   gaffer(Download)
 
from ..process import ProcessConfig
from ..util import parse_signal_value
 
class Job(object):
        # we parse the signal at the client level to reduce the time we pass
        # in the server.
        signum =  parse_signal_value(sig)
 
        body = json.dumps({"signal": signum})

src/g/a/gaffer-HEAD/gaffer/manager.py   gaffer(Download)
from .state import ProcessState, ProcessTracker
from .sync import increment
from .util import parse_signal_value
 
 
    def kill(self, pid, sig):
        """ send a signal to a process """
        signum = parse_signal_value(sig)
        with self._lock:
            p = self._get_pid(pid)
    def killall(self, name, sig):
        """ send a signal to all processes of a job """
        signum = parse_signal_value(sig)
        sessionid, name = self._parse_name(name)
        pname = "%s.%s" % (sessionid, name)

src/g/a/gaffer-HEAD/gaffer/httpclient/job.py   gaffer(Download)
 
from ..process import ProcessConfig
from ..util import parse_signal_value
 
class Job(object):
        # we parse the signal at the client level to reduce the time we pass
        # in the server.
        signum =  parse_signal_value(sig)
 
        body = json.dumps({"signal": signum})