Passed
Push — master ( 9e6aa2...b9e514 )
by Ramon
07:36 queued 02:57
created

bika.lims.subscribers.remarks   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 7
dl 0
loc 13
rs 10
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A RemarksAddedEventHandler() 0 7 1
1
# -*- coding: utf-8 -*-
2
3
from bika.lims import logger
4
5
6
def RemarksAddedEventHandler(event):
7
    """New Remarks Added
8
    """
9
    context = event.context
10
    history = event.history
11
    logger.info("New Remarks added for {}: {}"
12
                .format(repr(context), history[0]))
13