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.
Passed
Push — master ( 0600e6...77030f )
by P.R.
02:59
created

HaltMessageEventHandler   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A handle() 0 12 1
1
"""
2
Enarksh
3
4
Copyright 2013-2016 Set Based IT Consultancy
5
6
Licence MIT
7
"""
8
from enarksh.event.Event import Event
9
10
11
class HaltMessageEventHandler:
12
    """
13
    An event handler for a HaltMessage received events.
14
    """
15
16
    # ------------------------------------------------------------------------------------------------------------------
17
    @staticmethod
18
    def handle(_event, _message, _listener_data):
19
        """
20
        Handles a HaltMessage received event.
21
22
        :param * _event: Not used.
23
        :param * _message: Not used.
24
        :param * _listener_data: Not used.
25
        """
26
        del _event, _message, _listener_data
27
28
        Event.event_controller.exit = True
29
30
# ----------------------------------------------------------------------------------------------------------------------
31