Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

class BaseSection(object): 

    """ BaseSection class. All sections need to derive from it and add 

        their arguments to the mloginfo.argparser object and determine if they are 

        active. 

    """ 

 

    filterArgs = [] 

    name = 'base' 

    active = False 

 

    def __init__(self, mloginfo): 

        """ constructor. save command line arguments and set active to False 

            by default.  

        """ 

        # mloginfo object, use it to get access to argparser and other class variables 

        self.mloginfo = mloginfo 

 

 

    def run(self): 

        pass