Completed
Push — master ( 2b2ff6...0d93d1 )
by Jerome
01:04
created

Presenter.load_mainframe()   A

Complexity

Conditions 1

Size

Total Lines 2

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 2
rs 10
1
import logging
2
3
from msquaredc.ui.interfaces import PresenterInterface
4
5
6
class Presenter(PresenterInterface):
7
    def __init__(self, *args, **kwargs):
8
        super(Presenter, self).__init__(*args, **kwargs)
9
        self.__logger = logging.getLogger(__class__.__name__)
10
11
    def new_project_wizard(self, path=None):
12
        self.__logger.info("Creating a new Project.")
13
        print(path)
14
15
    def load_mainframe(self, *args, **kwargs):
16
        self.__logger.info("Loading Mainframe.")
17