Completed
Push — master ( caabd8...c07396 )
by Oleksandr
01:11
created

clean()   A

Complexity

Conditions 1

Size

Total Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1
Metric Value
cc 1
dl 0
loc 2
ccs 2
cts 2
cp 1
crap 1
rs 10
1
# -*- coding: utf-8 -*-
2
3 1
from . import CollectingParser
4
5
6 1
class WingSectionParser(CollectingParser):
7
    """
8
    Parses ``Wing`` section.
9
    View :ref:`detailed description <wing-section>`.
10
    """
11
12 1
    def check_section_name(self, section_name):
13 1
        return section_name == "Wing"
14
15 1
    def clean(self):
16
        return {'flights': self.data}
17