Completed
Pull Request — master (#420)
by Anthony
02:14
created

ListIssuesAction   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %
Metric Value
dl 0
loc 9
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 8 1
1
from lib.action import BitBucketAction
2
3
4
class ListIssuesAction(BitBucketAction):
5
    def run(self, repo):
6
        """
7
        List Issues of Repository with title
8
        of the issue its status and reporter
9
        """
10
        bb = self._get_client(repo=repo)
11
        success, result = bb.issue.all()
12
        return result
13