| Total Complexity | 1 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | from yaml.reader import * |
||
| 2 | from yaml.scanner import * |
||
| 3 | from yaml.parser import * |
||
| 4 | from yaml.composer import * |
||
| 5 | from yaml.resolver import * |
||
| 6 | |||
| 7 | from savu.plugins.loaders.utils.my_safe_constructor import MySafeConstructor |
||
| 8 | |||
| 9 | class MySafeLoader(Reader, Scanner, Parser, Composer, MySafeConstructor, Resolver): |
||
| 10 | |||
| 11 | def __init__(self, stream): |
||
| 12 | Reader.__init__(self, stream) |
||
| 13 | Scanner.__init__(self) |
||
| 14 | Parser.__init__(self) |
||
| 15 | Composer.__init__(self) |
||
| 16 | MySafeConstructor.__init__(self) |
||
| 17 | Resolver.__init__(self) |
||