Completed
Push — master ( a3e8d9...aa8f16 )
by Lakshmi
02:09
created

GetReportAction.run()   A

Complexity

Conditions 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %
Metric Value
cc 1
dl 0
loc 3
rs 10
1
from lib.base import QualysBaseAction
2
3
__all__ = [
4
    'GetReportAction'
5
]
6
7
8
class GetReportAction(QualysBaseAction):
9
    def run(self, id):
10
        reports = self.connection.listReports(id)
11
        return self.resultsets.formatter(reports[0])
12