Total Complexity | 2 |
Total Lines | 11 |
Duplicated Lines | 0 % |
Coverage | 100% |
1 | # -*- coding: utf-8 -*- |
||
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 |