Subversion Repositories kim

Rev

Rev 3 | Rev 6 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3 Rev 5
Line 24... Line 24...
24
class KIM:
24
class KIM:
25
    snotes = set()
25
    snotes = set()
26
    dnotes = {}
26
    dnotes = {}
27
    log = None
27
    log = None
28
    utils = None
28
    utils = None
-
 
29
    options = None
29
30
30
    def __init__(self):
31
    def __init__(self):
31
        self.log = Logger('KIM').get_logger()
32
        self.log = Logger('KIM').get_logger()
32
        self.utils = Utils()
33
        self.utils = Utils()
-
 
34
        self.options = self.utils.get_app_options()
-
 
35
        self.log.debug("Options: %s", self.options)
33
        self.log.info('Starting %s %s', name, version)
36
        self.log.info('Starting %s %s', name, version)
34
37
35
    def run(self):
38
    def run(self):
36
        ff = self.utils.get_firefox_history()
-
 
37
        self.log.debug(ff)
-
 
-
 
39
        snff = self.utils.get_firefox_history()
-
 
40
        snch = self.utils.get_chrome_history()
-
 
41
        self.log.debug(snff)
-
 
42
        self.log.debug(snch)
-
 
43
38
44
39
def main():
45
def main():
40
    kim = KIM()
46
    kim = KIM()
41
    kim.run()
47
    kim.run()
42
48