)]}'
{"README.rst":[{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"7df141454b8b770b666914fd364e27c6ac092733","unresolved":false,"context_lines":[{"line_number":66,"context_line":""},{"line_number":67,"context_line":"You should have updated your configuration files before doing this step."},{"line_number":68,"context_line":"freezer-manage has the following options:"},{"line_number":69,"context_line":"- To create the db mappings using the following command::"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"  # freezer-manage db sync"},{"line_number":72,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_f79c8bc1","line":69,"range":{"start_line":69,"start_character":28,"end_line":69,"end_character":33},"updated":"2016-06-14 19:46:41.000000000","message":"change \"using\" -\u003e \"use\" in all the items in this list.","commit_id":"4987850645eaf01be12cf89918cf44191a9e6bc9"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"7df141454b8b770b666914fd364e27c6ac092733","unresolved":false,"context_lines":[{"line_number":83,"context_line":""},{"line_number":84,"context_line":"  # freezer-manage db show"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"- To update your settings (number of replicas) all what you need is to change"},{"line_number":87,"context_line":"it\u0027s value in the configuration file and then run the following command ::"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"  # freezer-manage db update-settings"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_57ac7fec","line":86,"range":{"start_line":86,"start_character":59,"end_line":86,"end_character":60},"updated":"2016-06-14 19:46:41.000000000","message":"all that you need to do is...","commit_id":"4987850645eaf01be12cf89918cf44191a9e6bc9"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"7df141454b8b770b666914fd364e27c6ac092733","unresolved":false,"context_lines":[{"line_number":84,"context_line":"  # freezer-manage db show"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"- To update your settings (number of replicas) all what you need is to change"},{"line_number":87,"context_line":"it\u0027s value in the configuration file and then run the following command ::"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"  # freezer-manage db update-settings"},{"line_number":90,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_d7ed0f26","line":87,"range":{"start_line":87,"start_character":2,"end_line":87,"end_character":3},"updated":"2016-06-14 19:46:41.000000000","message":"change \"it\u0027s\" -\u003e \"its\"\n\n\"it\u0027s\" is a contraction for \"it is\", \"its\" is possessive for it. :-)","commit_id":"4987850645eaf01be12cf89918cf44191a9e6bc9"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"7df141454b8b770b666914fd364e27c6ac092733","unresolved":false,"context_lines":[{"line_number":88,"context_line":""},{"line_number":89,"context_line":"  # freezer-manage db update-settings"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"If you provided invalid number of replicas that will cause problems later on,"},{"line_number":92,"context_line":"so it\u0027s highly recommended to make sure that you are using the correct number"},{"line_number":93,"context_line":"of replicas. For more info about click here .. _Replicas https://www.elastic.co/guide/en/elasticsearch/guide/current/replica-shards.html"},{"line_number":94,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_5748ff2c","line":91,"range":{"start_line":91,"start_character":16,"end_line":91,"end_character":23},"updated":"2016-06-14 19:46:41.000000000","message":"if you provided an invalid...","commit_id":"4987850645eaf01be12cf89918cf44191a9e6bc9"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"7df141454b8b770b666914fd364e27c6ac092733","unresolved":false,"context_lines":[{"line_number":90,"context_line":""},{"line_number":91,"context_line":"If you provided invalid number of replicas that will cause problems later on,"},{"line_number":92,"context_line":"so it\u0027s highly recommended to make sure that you are using the correct number"},{"line_number":93,"context_line":"of replicas. For more info about click here .. _Replicas https://www.elastic.co/guide/en/elasticsearch/guide/current/replica-shards.html"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"- To get information about optional additional parameters::"},{"line_number":96,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_77fb7bc1","line":93,"range":{"start_line":93,"start_character":27,"end_line":93,"end_character":32},"updated":"2016-06-14 19:46:41.000000000","message":"remove \"about\"","commit_id":"4987850645eaf01be12cf89918cf44191a9e6bc9"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"7df141454b8b770b666914fd364e27c6ac092733","unresolved":false,"context_lines":[{"line_number":96,"context_line":""},{"line_number":97,"context_line":"  # freezer-manage -h"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"- If you want to add any additional parameter like --yes or --erase should be"},{"line_number":100,"context_line":"before the db option. Check the following examples:"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"Wrong Example::"}],"source_content_type":"text/x-rst","patch_set":7,"id":"7aa08908_17279763","line":99,"range":{"start_line":99,"start_character":67,"end_line":99,"end_character":68},"updated":"2016-06-14 19:46:41.000000000","message":"--erase, they should be...","commit_id":"4987850645eaf01be12cf89918cf44191a9e6bc9"}],"freezer_api/cmd/manage.py":[{"author":{"_account_id":14084,"name":"Einst Crazy","email":"yu.changcai@99cloud.net","username":"Einst"},"change_message_id":"79f0b5153ea019de995322345f04332161b5d802","unresolved":false,"context_lines":[{"line_number":183,"context_line":"        if CONF.erase:"},{"line_number":184,"context_line":"            self.remove_mappings()"},{"line_number":185,"context_line":""},{"line_number":186,"context_line":"        # check if index des not exists create it"},{"line_number":187,"context_line":"        if not self._check_index_exists(self.index):"},{"line_number":188,"context_line":"            self._create_index()"},{"line_number":189,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"9abb7d3a_e033f9f4","line":186,"range":{"start_line":186,"start_character":25,"end_line":186,"end_character":28},"updated":"2016-06-02 14:48:30.000000000","message":"typo","commit_id":"c822aaf13a75edb61cd77dfcd812e38f38fe6502"},{"author":{"_account_id":13940,"name":"Saad Zaher","email":"eng.szaher@gmail.com","username":"szaher"},"change_message_id":"65f5dfca66292065cbaa25cabcc2cb4042897ac4","unresolved":false,"context_lines":[{"line_number":183,"context_line":"        if CONF.erase:"},{"line_number":184,"context_line":"            self.remove_mappings()"},{"line_number":185,"context_line":""},{"line_number":186,"context_line":"        # check if index des not exists create it"},{"line_number":187,"context_line":"        if not self._check_index_exists(self.index):"},{"line_number":188,"context_line":"            self._create_index()"},{"line_number":189,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"9abb7d3a_60aa6987","line":186,"range":{"start_line":186,"start_character":25,"end_line":186,"end_character":28},"in_reply_to":"9abb7d3a_e033f9f4","updated":"2016-06-02 14:51:05.000000000","message":"it\u0027s a comment ! and has no effect !","commit_id":"c822aaf13a75edb61cd77dfcd812e38f38fe6502"},{"author":{"_account_id":14084,"name":"Einst Crazy","email":"yu.changcai@99cloud.net","username":"Einst"},"change_message_id":"79f0b5153ea019de995322345f04332161b5d802","unresolved":false,"context_lines":[{"line_number":226,"context_line":"                                    \u0027 \u003c\u003d Do you want to update it ? (y/n) \u0027"},{"line_number":227,"context_line":"                                    .format(doc_type, self.index)"},{"line_number":228,"context_line":"                                    )"},{"line_number":229,"context_line":"            if do_update:"},{"line_number":230,"context_line":"                # Call elasticsearch library and put the mappings"},{"line_number":231,"context_line":"                return self.elk.indices.put_mapping(doc_type\u003ddoc_type,"},{"line_number":232,"context_line":"                                                    body\u003dbody,"},{"line_number":233,"context_line":"                                                    index\u003dself.index"},{"line_number":234,"context_line":"                                                    )"},{"line_number":235,"context_line":"            else:"},{"line_number":236,"context_line":"                return {\u0027acknowledged\u0027: False}"},{"line_number":237,"context_line":"        return self.elk.indices.put_mapping(doc_type\u003ddoc_type, body\u003dbody,"},{"line_number":238,"context_line":"                                            index\u003dself.index)"}],"source_content_type":"text/x-python","patch_set":3,"id":"9abb7d3a_803dcdbd","line":235,"range":{"start_line":229,"start_character":0,"end_line":235,"end_character":17},"updated":"2016-06-02 14:48:30.000000000","message":"What if modify these codes like this:\nif not do_update:","commit_id":"c822aaf13a75edb61cd77dfcd812e38f38fe6502"},{"author":{"_account_id":13940,"name":"Saad Zaher","email":"eng.szaher@gmail.com","username":"szaher"},"change_message_id":"65f5dfca66292065cbaa25cabcc2cb4042897ac4","unresolved":false,"context_lines":[{"line_number":226,"context_line":"                                    \u0027 \u003c\u003d Do you want to update it ? (y/n) \u0027"},{"line_number":227,"context_line":"                                    .format(doc_type, self.index)"},{"line_number":228,"context_line":"                                    )"},{"line_number":229,"context_line":"            if do_update:"},{"line_number":230,"context_line":"                # Call elasticsearch library and put the mappings"},{"line_number":231,"context_line":"                return self.elk.indices.put_mapping(doc_type\u003ddoc_type,"},{"line_number":232,"context_line":"                                                    body\u003dbody,"},{"line_number":233,"context_line":"                                                    index\u003dself.index"},{"line_number":234,"context_line":"                                                    )"},{"line_number":235,"context_line":"            else:"},{"line_number":236,"context_line":"                return {\u0027acknowledged\u0027: False}"},{"line_number":237,"context_line":"        return self.elk.indices.put_mapping(doc_type\u003ddoc_type, body\u003dbody,"},{"line_number":238,"context_line":"                                            index\u003dself.index)"}],"source_content_type":"text/x-python","patch_set":3,"id":"9abb7d3a_c0c4f560","line":235,"range":{"start_line":229,"start_character":0,"end_line":235,"end_character":17},"in_reply_to":"9abb7d3a_803dcdbd","updated":"2016-06-02 14:51:05.000000000","message":"What is the difference ?","commit_id":"c822aaf13a75edb61cd77dfcd812e38f38fe6502"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"7df141454b8b770b666914fd364e27c6ac092733","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"def parse_config(mapping_choices):"},{"line_number":49,"context_line":"    _DB_INIT \u003d ["},{"line_number":50,"context_line":"        cfg.SubCommandOpt(\u0027db\u0027,"},{"line_number":51,"context_line":"                          dest\u003d\u0027db\u0027,"},{"line_number":52,"context_line":"                          title\u003d\u0027DB Options\u0027,"}],"source_content_type":"text/x-python","patch_set":7,"id":"7aa08908_da99b620","line":49,"range":{"start_line":49,"start_character":4,"end_line":49,"end_character":12},"updated":"2016-06-14 19:46:41.000000000","message":"Why is this _DB_INIT? What does the underscore mean? It can\u0027t be private because all variables in a function are already private (I think). There\u0027s no way to access them from outside the function.","commit_id":"4987850645eaf01be12cf89918cf44191a9e6bc9"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"7df141454b8b770b666914fd364e27c6ac092733","unresolved":false,"context_lines":[{"line_number":108,"context_line":"         )"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"class ElasticManager(object):"},{"line_number":112,"context_line":"    \"\"\""},{"line_number":113,"context_line":"    Managing ElasticSearch mappings operations"},{"line_number":114,"context_line":"    Sync: create mappings"}],"source_content_type":"text/x-python","patch_set":7,"id":"7aa08908_fa4bd284","line":111,"range":{"start_line":111,"start_character":6,"end_line":111,"end_character":20},"updated":"2016-06-14 19:46:41.000000000","message":"Should this be called \"ElasticsearchManager\"?","commit_id":"4987850645eaf01be12cf89918cf44191a9e6bc9"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"7df141454b8b770b666914fd364e27c6ac092733","unresolved":false,"context_lines":[{"line_number":114,"context_line":"    Sync: create mappings"},{"line_number":115,"context_line":"    Update: Update mappings"},{"line_number":116,"context_line":"    remove: deletes the mappings"},{"line_number":117,"context_line":"    show: printout all the mappings"},{"line_number":118,"context_line":"    \"\"\""},{"line_number":119,"context_line":"    def __init__(self, mappings):"},{"line_number":120,"context_line":"        self.mappings \u003d mappings"}],"source_content_type":"text/x-python","patch_set":7,"id":"7aa08908_95b25f92","line":117,"range":{"start_line":117,"start_character":10,"end_line":117,"end_character":18},"updated":"2016-06-14 19:46:41.000000000","message":"change \"printout\" -\u003e \"print out\"","commit_id":"4987850645eaf01be12cf89918cf44191a9e6bc9"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"7df141454b8b770b666914fd364e27c6ac092733","unresolved":false,"context_lines":[{"line_number":117,"context_line":"    show: printout all the mappings"},{"line_number":118,"context_line":"    \"\"\""},{"line_number":119,"context_line":"    def __init__(self, mappings):"},{"line_number":120,"context_line":"        self.mappings \u003d mappings"},{"line_number":121,"context_line":"        self.index \u003d CONF.storage.index or DEFAULT_INDEX"},{"line_number":122,"context_line":"        # initialize elk"},{"line_number":123,"context_line":"        opts \u003d dict(CONF.storage.items())"}],"source_content_type":"text/x-python","patch_set":7,"id":"7aa08908_5a22e6b9","line":120,"range":{"start_line":120,"start_character":24,"end_line":120,"end_character":32},"updated":"2016-06-14 19:46:41.000000000","message":"mappings will be shared. Would it be better to make a deep copy?","commit_id":"4987850645eaf01be12cf89918cf44191a9e6bc9"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"7df141454b8b770b666914fd364e27c6ac092733","unresolved":false,"context_lines":[{"line_number":130,"context_line":"        try:"},{"line_number":131,"context_line":"            self.elk.indices.clear_cache(index\u003dself.index)"},{"line_number":132,"context_line":"        except Exception:"},{"line_number":133,"context_line":"            pass"},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"    def _check_index_exists(self, index):"},{"line_number":136,"context_line":"        LOG.info(\u0027check if index: {0} exists or not\u0027.format(index))"}],"source_content_type":"text/x-python","patch_set":7,"id":"7aa08908_154f8f6b","line":133,"range":{"start_line":133,"start_character":12,"end_line":133,"end_character":16},"updated":"2016-06-14 19:46:41.000000000","message":"I would at least log that an exception happened. Swallowing an exception is an anti-pattern.","commit_id":"4987850645eaf01be12cf89918cf44191a9e6bc9"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"7df141454b8b770b666914fd364e27c6ac092733","unresolved":false,"context_lines":[{"line_number":138,"context_line":"            return self.elk.indices.exists(index\u003dindex)"},{"line_number":139,"context_line":"        except elasticsearch.TransportError as e:"},{"line_number":140,"context_line":"            LOG.error(e)"},{"line_number":141,"context_line":"            print (e)"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"    def _check_mapping_exists(self, mappings):"},{"line_number":144,"context_line":"        LOG.info(\u0027check if mappings: {0} exists or not\u0027.format(mappings))"}],"source_content_type":"text/x-python","patch_set":7,"id":"7aa08908_f51643a5","line":141,"range":{"start_line":141,"start_character":20,"end_line":141,"end_character":21},"updated":"2016-06-14 19:46:41.000000000","message":"Would it be better to raise the exception. This looks like a serious exception.","commit_id":"4987850645eaf01be12cf89918cf44191a9e6bc9"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"7df141454b8b770b666914fd364e27c6ac092733","unresolved":false,"context_lines":[{"line_number":146,"context_line":""},{"line_number":147,"context_line":"    def get_required_mappings(self):"},{"line_number":148,"context_line":"        \"\"\""},{"line_number":149,"context_line":"        This function checks if the user choose a certain mappings or not."},{"line_number":150,"context_line":"        If the user chosen a certain mappings it will return these mappings only"},{"line_number":151,"context_line":"        If not it will return all mappings to be updated"},{"line_number":152,"context_line":"        :return:"}],"source_content_type":"text/x-python","patch_set":7,"id":"7aa08908_9579bfca","line":149,"updated":"2016-06-14 19:46:41.000000000","message":"chooses","commit_id":"4987850645eaf01be12cf89918cf44191a9e6bc9"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"7df141454b8b770b666914fd364e27c6ac092733","unresolved":false,"context_lines":[{"line_number":147,"context_line":"    def get_required_mappings(self):"},{"line_number":148,"context_line":"        \"\"\""},{"line_number":149,"context_line":"        This function checks if the user choose a certain mappings or not."},{"line_number":150,"context_line":"        If the user chosen a certain mappings it will return these mappings only"},{"line_number":151,"context_line":"        If not it will return all mappings to be updated"},{"line_number":152,"context_line":"        :return:"},{"line_number":153,"context_line":"        \"\"\""}],"source_content_type":"text/x-python","patch_set":7,"id":"7aa08908_b57afbb7","line":150,"updated":"2016-06-14 19:46:41.000000000","message":"has chosen","commit_id":"4987850645eaf01be12cf89918cf44191a9e6bc9"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"7df141454b8b770b666914fd364e27c6ac092733","unresolved":false,"context_lines":[{"line_number":152,"context_line":"        :return:"},{"line_number":153,"context_line":"        \"\"\""},{"line_number":154,"context_line":"        # check if the user asked to update only one mapping ( -m is provided )"},{"line_number":155,"context_line":"        _mappings \u003d {}"},{"line_number":156,"context_line":"        if CONF.select_mapping:"},{"line_number":157,"context_line":"            if CONF.select_mapping not in self.mappings.keys():"},{"line_number":158,"context_line":"                raise Exception("}],"source_content_type":"text/x-python","patch_set":7,"id":"7aa08908_b5515b32","line":155,"range":{"start_line":155,"start_character":8,"end_line":155,"end_character":17},"updated":"2016-06-14 19:46:41.000000000","message":"Again, I\u0027m not sure what the underscore on the variable name is for.","commit_id":"4987850645eaf01be12cf89918cf44191a9e6bc9"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"7df141454b8b770b666914fd364e27c6ac092733","unresolved":false,"context_lines":[{"line_number":161,"context_line":"                                        self.mappings.keys()"},{"line_number":162,"context_line":"                                        )"},{"line_number":163,"context_line":"                )"},{"line_number":164,"context_line":"            _mappings[CONF.select_mapping] \u003d \\"},{"line_number":165,"context_line":"                self.mappings.get(CONF.select_mapping)"},{"line_number":166,"context_line":"        else:"},{"line_number":167,"context_line":"            _mappings \u003d self.mappings"}],"source_content_type":"text/x-python","patch_set":7,"id":"7aa08908_950edf38","line":164,"range":{"start_line":164,"start_character":45,"end_line":164,"end_character":46},"updated":"2016-06-14 19:46:41.000000000","message":"I think the preferred idiom is to use () instead of \\ to continue lines.","commit_id":"4987850645eaf01be12cf89918cf44191a9e6bc9"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"7df141454b8b770b666914fd364e27c6ac092733","unresolved":false,"context_lines":[{"line_number":215,"context_line":""},{"line_number":216,"context_line":"    def create_one_mapping(self, doc_type, body):"},{"line_number":217,"context_line":"        \"\"\""},{"line_number":218,"context_line":"        Create one document type and update it\u0027s mappings"},{"line_number":219,"context_line":"        :param doc_type: the document type to be created jobs, clients, backups"},{"line_number":220,"context_line":"        :param body: the structure of the document"},{"line_number":221,"context_line":"        :return: dict"}],"source_content_type":"text/x-python","patch_set":7,"id":"7aa08908_b044c946","line":218,"range":{"start_line":218,"start_character":47,"end_line":218,"end_character":48},"updated":"2016-06-14 19:46:41.000000000","message":"change \"it\u0027s\" to \"its\"","commit_id":"4987850645eaf01be12cf89918cf44191a9e6bc9"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"7df141454b8b770b666914fd364e27c6ac092733","unresolved":false,"context_lines":[{"line_number":250,"context_line":"                                                   doc_type\u003ddoc_type)"},{"line_number":251,"context_line":"        except Exception as e:"},{"line_number":252,"context_line":"            LOG.error(e)"},{"line_number":253,"context_line":"            print (e)"},{"line_number":254,"context_line":""},{"line_number":255,"context_line":"    def remove_mappings(self):"},{"line_number":256,"context_line":"        \"\"\""}],"source_content_type":"text/x-python","patch_set":7,"id":"7aa08908_d06075d1","line":253,"range":{"start_line":253,"start_character":20,"end_line":253,"end_character":21},"updated":"2016-06-14 19:46:41.000000000","message":"Gulp. Just swallowed another exception.","commit_id":"4987850645eaf01be12cf89918cf44191a9e6bc9"},{"author":{"_account_id":12512,"name":"Deklan Dieterly","email":"deklan.dieterly@hpe.com","username":"deklan"},"change_message_id":"7df141454b8b770b666914fd364e27c6ac092733","unresolved":false,"context_lines":[{"line_number":347,"context_line":"            raise Exception(\u0027Option {0} not found !\u0027.format(CONF.db.options))"},{"line_number":348,"context_line":"    except Exception as e:"},{"line_number":349,"context_line":"        LOG.error(e)"},{"line_number":350,"context_line":"        print (e)"}],"source_content_type":"text/x-python","patch_set":7,"id":"7aa08908_50c805a8","line":350,"updated":"2016-06-14 19:46:41.000000000","message":"I would add this.\n\nif __name__ \u003d\u003d \u0027__main__\u0027:\n    sys.exit(main())","commit_id":"4987850645eaf01be12cf89918cf44191a9e6bc9"}]}
