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

RemarksAddedEventHandler()   A

Complexity

Conditions 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 7
rs 10
c 0
b 0
f 0
cc 1
nop 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