Completed
Pull Request — master (#543)
by
unknown
02:35
created

GetReportAction   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
wmc 1
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