Passed
Push — develop ( 4c6d50...c281b5 )
by Plexxi
03:30
created

PrintConfigAction.run()   A

Complexity

Conditions 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
dl 0
loc 4
rs 10
1
from pprint import pprint
2
3
from st2actions.runners.pythonrunner import Action
4
5
6
class PrintConfigAction(Action):
7
    def run(self):
8
        print('=========')
9
        pprint(self.config)
10
        print('=========')
11