)]}'
{"README.rst":[{"author":{"_account_id":14509,"name":"Pierre Mathieu","email":"pierre-arthur.mathieu@hpe.com","username":"slashme"},"change_message_id":"1eb1bbe842b96033120599ad80aa7b18b6ce53c4","unresolved":false,"context_lines":[{"line_number":71,"context_line":""},{"line_number":72,"context_line":"- open cmd as admin"},{"line_number":73,"context_line":"- whoami"},{"line_number":74,"context_line":"- python win_service.py --username {whoami} --password {pc-password} install "},{"line_number":75,"context_line":""},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"Installation \u0026 Env Setup"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_67ca98a3","line":74,"updated":"2015-11-23 16:59:43.000000000","message":"Please remove trailing whitespace","commit_id":"1cc5f9a2873d2883cb5ac3c9b32b1ddf34ceade9"}],"freezer/scheduler/freezer_scheduler.py":[{"author":{"_account_id":15358,"name":"Eldar Nugaev","email":"eldar.nugaev@hp.com","username":"eldar"},"change_message_id":"6415654fc1fa6401a408a05bfdf970d23a72307c","unresolved":false,"context_lines":[{"line_number":31,"context_line":"import utils"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"from freezer import winutils"},{"line_number":34,"context_line":"if winutils.is_windows():"},{"line_number":35,"context_line":"    from win_daemon import Daemon, NoDaemon"},{"line_number":36,"context_line":"else:"},{"line_number":37,"context_line":"    from daemon import Daemon, NoDaemon"}],"source_content_type":"text/x-python","patch_set":8,"id":"9a8ffd7b_6b7286e7","line":34,"updated":"2015-11-25 10:43:27.000000000","message":"I would prefer to have just different instances for windows and linux. Approach with imports can be really difficult for test. But If you suppose it is the best option we have, I don\u0027t mind","commit_id":"97c8bf74d55576185e2bab5008d1a889b2b75a90"},{"author":{"_account_id":14340,"name":"Memo Garcia","email":"guillermo.ramirez-garcia@hp.com","username":"memogarcia"},"change_message_id":"20d7893057657da2b656c3963bffa6105df30ccb","unresolved":false,"context_lines":[{"line_number":31,"context_line":"import utils"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"from freezer import winutils"},{"line_number":34,"context_line":"if winutils.is_windows():"},{"line_number":35,"context_line":"    from win_daemon import Daemon, NoDaemon"},{"line_number":36,"context_line":"else:"},{"line_number":37,"context_line":"    from daemon import Daemon, NoDaemon"}],"source_content_type":"text/x-python","patch_set":8,"id":"9a8ffd7b_2d081191","line":34,"in_reply_to":"9a8ffd7b_6b7286e7","updated":"2015-11-25 11:34:30.000000000","message":"The main ideas was to have the same interface for both windows and linux so is easy to follow when reading the code, but what you are saying is that instead of Daemon it should be called WinDaemon?","commit_id":"97c8bf74d55576185e2bab5008d1a889b2b75a90"}],"freezer/scheduler/win_service.py":[{"author":{"_account_id":15358,"name":"Eldar Nugaev","email":"eldar.nugaev@hp.com","username":"eldar"},"change_message_id":"6415654fc1fa6401a408a05bfdf970d23a72307c","unresolved":false,"context_lines":[{"line_number":42,"context_line":"        self.main()"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"        # if the stop event hasn\u0027t been fired keep looping"},{"line_number":45,"context_line":"        while rc !\u003d win32event.WAIT_OBJECT_0:"},{"line_number":46,"context_line":"            # block for 5 seconds and listen for a stop event"},{"line_number":47,"context_line":"            rc \u003d win32event.WaitForSingleObject(self.hWaitStop, 5000)"},{"line_number":48,"context_line":"            break"}],"source_content_type":"text/x-python","patch_set":8,"id":"9a8ffd7b_471e9664","line":45,"updated":"2015-11-25 10:43:27.000000000","message":"How are we going to loop if have a break?","commit_id":"97c8bf74d55576185e2bab5008d1a889b2b75a90"},{"author":{"_account_id":14340,"name":"Memo Garcia","email":"guillermo.ramirez-garcia@hp.com","username":"memogarcia"},"change_message_id":"20d7893057657da2b656c3963bffa6105df30ccb","unresolved":false,"context_lines":[{"line_number":42,"context_line":"        self.main()"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"        # if the stop event hasn\u0027t been fired keep looping"},{"line_number":45,"context_line":"        while rc !\u003d win32event.WAIT_OBJECT_0:"},{"line_number":46,"context_line":"            # block for 5 seconds and listen for a stop event"},{"line_number":47,"context_line":"            rc \u003d win32event.WaitForSingleObject(self.hWaitStop, 5000)"},{"line_number":48,"context_line":"            break"}],"source_content_type":"text/x-python","patch_set":8,"id":"9a8ffd7b_2d2fb1f7","line":45,"in_reply_to":"9a8ffd7b_471e9664","updated":"2015-11-25 11:34:30.000000000","message":"Done","commit_id":"97c8bf74d55576185e2bab5008d1a889b2b75a90"}],"freezer/utils.py":[{"author":{"_account_id":15358,"name":"Eldar Nugaev","email":"eldar.nugaev@hp.com","username":"eldar"},"change_message_id":"6415654fc1fa6401a408a05bfdf970d23a72307c","unresolved":false,"context_lines":[{"line_number":431,"context_line":"        try:"},{"line_number":432,"context_line":"            return func(*args, **kwargs)"},{"line_number":433,"context_line":"        except Exception as error:"},{"line_number":434,"context_line":"            print(error)"},{"line_number":435,"context_line":"    return wrapper"},{"line_number":436,"context_line":""},{"line_number":437,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"9a8ffd7b_474c5670","line":434,"updated":"2015-11-25 10:43:27.000000000","message":"why print? not logging?","commit_id":"97c8bf74d55576185e2bab5008d1a889b2b75a90"},{"author":{"_account_id":14340,"name":"Memo Garcia","email":"guillermo.ramirez-garcia@hp.com","username":"memogarcia"},"change_message_id":"20d7893057657da2b656c3963bffa6105df30ccb","unresolved":false,"context_lines":[{"line_number":431,"context_line":"        try:"},{"line_number":432,"context_line":"            return func(*args, **kwargs)"},{"line_number":433,"context_line":"        except Exception as error:"},{"line_number":434,"context_line":"            print(error)"},{"line_number":435,"context_line":"    return wrapper"},{"line_number":436,"context_line":""},{"line_number":437,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"9a8ffd7b_8d8a5dbe","line":434,"in_reply_to":"9a8ffd7b_474c5670","updated":"2015-11-25 11:34:30.000000000","message":"Done","commit_id":"97c8bf74d55576185e2bab5008d1a889b2b75a90"},{"author":{"_account_id":15358,"name":"Eldar Nugaev","email":"eldar.nugaev@hp.com","username":"eldar"},"change_message_id":"6415654fc1fa6401a408a05bfdf970d23a72307c","unresolved":false,"context_lines":[{"line_number":435,"context_line":"    return wrapper"},{"line_number":436,"context_line":""},{"line_number":437,"context_line":""},{"line_number":438,"context_line":"def prepare_dir(path):"},{"line_number":439,"context_line":"    \"\"\"Create need it directory for freezer scheduler on windows\"\"\""},{"line_number":440,"context_line":"    if not os.path.isdir(path):"},{"line_number":441,"context_line":"        os.makedirs(path)"}],"source_content_type":"text/x-python","patch_set":8,"id":"9a8ffd7b_87979e8f","line":438,"updated":"2015-11-25 10:43:27.000000000","message":"you can use utils.create_dir_tree","commit_id":"97c8bf74d55576185e2bab5008d1a889b2b75a90"},{"author":{"_account_id":14340,"name":"Memo Garcia","email":"guillermo.ramirez-garcia@hp.com","username":"memogarcia"},"change_message_id":"20d7893057657da2b656c3963bffa6105df30ccb","unresolved":false,"context_lines":[{"line_number":435,"context_line":"    return wrapper"},{"line_number":436,"context_line":""},{"line_number":437,"context_line":""},{"line_number":438,"context_line":"def prepare_dir(path):"},{"line_number":439,"context_line":"    \"\"\"Create need it directory for freezer scheduler on windows\"\"\""},{"line_number":440,"context_line":"    if not os.path.isdir(path):"},{"line_number":441,"context_line":"        os.makedirs(path)"}],"source_content_type":"text/x-python","patch_set":8,"id":"9a8ffd7b_eda2094b","line":438,"in_reply_to":"9a8ffd7b_87979e8f","updated":"2015-11-25 11:34:30.000000000","message":"Done","commit_id":"97c8bf74d55576185e2bab5008d1a889b2b75a90"}]}
