Conditions | 1 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
1 | #!/usr/bin/env python |
||
31 | def run(self, scan_title, customer_id=None): |
||
32 | """ |
||
33 | The template class for |
||
34 | |||
35 | Returns: An blank Dict. |
||
36 | |||
37 | Raises: |
||
38 | ValueError: On lack of key in config. |
||
39 | """ |
||
40 | |||
41 | # Set up the results |
||
42 | results = {} |
||
43 | |||
44 | scans = GetScanList(self.config, customer_id) |
||
45 | |||
46 | return GetScanExecutions(self.config, scans[scan_title]['id']) |
||
47 |