GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

SpawnerCommand   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 16
ccs 0
cts 4
cp 0
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 7 1
1
"""
2
Enarksh
3
4
Copyright 2013-2016 Set Based IT Consultancy
5
6
Licence MIT
7
"""
8
from enarksh.command.DaemonCommand import DaemonCommand
9
from enarksh.spawner.Spawner import Spawner
10
11
12
class SpawnerCommand(DaemonCommand):
13
    """
14
    Starts the spawner
15
16
    spawner
17
        {--d|daemonize : Become a daemon}
18
    """
19
20
    # ------------------------------------------------------------------------------------------------------------------
21
    def handle(self):
22
        """
23
        Executes the logger command.
24
        """
25
        spawner = Spawner()
26
27
        self.handle_daemon('spawner', spawner)
28
29
# ----------------------------------------------------------------------------------------------------------------------
30