)]}'
{"os_brick/initiator/linuxscsi.py":[{"author":{"_account_id":4355,"name":"Avishay Traeger","email":"avishay@stratoscale.com","username":"avishay-il"},"change_message_id":"c0b8ada2d63414981b21d6b4f06793622b70d810","unresolved":false,"context_lines":[{"line_number":93,"context_line":""},{"line_number":94,"context_line":"        # Setup a loop here to give the kernel time"},{"line_number":95,"context_line":"        # to remove the volume from /dev/disk/by-path/"},{"line_number":96,"context_line":"        self.tries \u003d 0"},{"line_number":97,"context_line":"        self.scan_attempts \u003d 3"},{"line_number":98,"context_line":"        timer \u003d loopingcall.FixedIntervalLoopingCall("},{"line_number":99,"context_line":"            _wait_for_volume_removal, volume_path)"}],"source_content_type":"text/x-python","patch_set":9,"id":"7aaa499b_99462522","line":96,"updated":"2015-04-13 16:27:10.000000000","message":"Please try to find a way to get around (ab)using self here","commit_id":"532aab062717073d7b428b60b5fc9a4ac4856b36"},{"author":{"_account_id":4355,"name":"Avishay Traeger","email":"avishay@stratoscale.com","username":"avishay-il"},"change_message_id":"1caf33a8d59a0a17ca6d5b1ae4ca9f3d02725d84","unresolved":false,"context_lines":[{"line_number":93,"context_line":""},{"line_number":94,"context_line":"        # Setup a loop here to give the kernel time"},{"line_number":95,"context_line":"        # to remove the volume from /dev/disk/by-path/"},{"line_number":96,"context_line":"        self.tries \u003d 0"},{"line_number":97,"context_line":"        self.scan_attempts \u003d 3"},{"line_number":98,"context_line":"        timer \u003d loopingcall.FixedIntervalLoopingCall("},{"line_number":99,"context_line":"            _wait_for_volume_removal, volume_path)"}],"source_content_type":"text/x-python","patch_set":9,"id":"7aaa499b_8578e4f3","line":96,"in_reply_to":"7aaa499b_3af6dc8f","updated":"2015-04-14 04:34:20.000000000","message":"I looked for some other options...\n\n1) Use a timeout instead of number of tries: https://github.com/openstack/cinder/blob/5980da5d889de62d6accd6cb002029f8aec4b6a2/cinder/volume/drivers/ibm/storwize_svc/helpers.py#L549\n\n2) This one uses a dictionary: https://github.com/openstack/cinder/blob/5980da5d889de62d6accd6cb002029f8aec4b6a2/cinder/volume/drivers/cloudbyte/cloudbyte.py\n\n3) As does this one: https://github.com/openstack/cinder/blob/672a1d4362268cd614adb2b424c982d6555d1629/cinder/volume/drivers/emc/emc_vmax_utils.py","commit_id":"532aab062717073d7b428b60b5fc9a4ac4856b36"},{"author":{"_account_id":5997,"name":"Walt","display_name":"Hemna","email":"waboring@hemna.com","username":"walter-boring","status":"SAP"},"change_message_id":"29e3f65b8a1469c470a2d18c676a68b1044aa9b3","unresolved":false,"context_lines":[{"line_number":93,"context_line":""},{"line_number":94,"context_line":"        # Setup a loop here to give the kernel time"},{"line_number":95,"context_line":"        # to remove the volume from /dev/disk/by-path/"},{"line_number":96,"context_line":"        self.tries \u003d 0"},{"line_number":97,"context_line":"        self.scan_attempts \u003d 3"},{"line_number":98,"context_line":"        timer \u003d loopingcall.FixedIntervalLoopingCall("},{"line_number":99,"context_line":"            _wait_for_volume_removal, volume_path)"}],"source_content_type":"text/x-python","patch_set":9,"id":"7aaa499b_7ab8bde5","line":96,"in_reply_to":"7aaa499b_8578e4f3","updated":"2015-04-14 16:19:36.000000000","message":"So, I was thinking of pulling in cinder.utils.retry as an alternative as well.   I think that will do what we want.","commit_id":"532aab062717073d7b428b60b5fc9a4ac4856b36"},{"author":{"_account_id":5997,"name":"Walt","display_name":"Hemna","email":"waboring@hemna.com","username":"walter-boring","status":"SAP"},"change_message_id":"d9a6520d280dbc0cdef6e7ac6acb0ba82cc71843","unresolved":false,"context_lines":[{"line_number":93,"context_line":""},{"line_number":94,"context_line":"        # Setup a loop here to give the kernel time"},{"line_number":95,"context_line":"        # to remove the volume from /dev/disk/by-path/"},{"line_number":96,"context_line":"        self.tries \u003d 0"},{"line_number":97,"context_line":"        self.scan_attempts \u003d 3"},{"line_number":98,"context_line":"        timer \u003d loopingcall.FixedIntervalLoopingCall("},{"line_number":99,"context_line":"            _wait_for_volume_removal, volume_path)"}],"source_content_type":"text/x-python","patch_set":9,"id":"7aaa499b_3af6dc8f","line":96,"in_reply_to":"7aaa499b_99462522","updated":"2015-04-13 18:50:09.000000000","message":"The limiting factor here is the loopingcall class.  There is no way to get around it at the moment.   It needs to be enhanced to support tracking # of times called and passing that in, which it currently doesn\u0027t do.\n\nI can make this reentrant by keeping a dictionary of self.tries[uuid] instead, but that\u0027s the best I can come up with for now.","commit_id":"532aab062717073d7b428b60b5fc9a4ac4856b36"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"8c303249144bb9390593d64d1d5626afb154a8d8","unresolved":false,"context_lines":[{"line_number":202,"context_line":"                try:"},{"line_number":203,"context_line":"                    os.stat(mdev)"},{"line_number":204,"context_line":"                except OSError:"},{"line_number":205,"context_line":"                    LOG.warn(_LW(\"Couldn\u0027t find multipath device %s\"), mdev)"},{"line_number":206,"context_line":"                    return None"},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"                LOG.debug(\"Found multipath device \u003d %(mdev)s\","}],"source_content_type":"text/x-python","patch_set":9,"id":"7aaa499b_b3c8f975","line":205,"updated":"2015-04-12 19:41:42.000000000","message":"Should be LOG.warning, but that can be cleaned up later. Previous patchset had corrected this, but certainly can be argued to be outside the scope of this change.","commit_id":"532aab062717073d7b428b60b5fc9a4ac4856b36"},{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"8f711c260d0d30ea431cb9119e2647c31b8e3123","unresolved":false,"context_lines":[{"line_number":73,"context_line":"                 backoff_rate\u003d1)"},{"line_number":74,"context_line":"    def wait_for_volume_removal(self, volume_path):"},{"line_number":75,"context_line":"        \"\"\"This is used to ensure that volumes are gone.\"\"\""},{"line_number":76,"context_line":"        LOG.debug(\"Waiting for SCSI mount point %s to be removed\","},{"line_number":77,"context_line":"                  volume_path)"},{"line_number":78,"context_line":"        if os.path.exists(volume_path):"},{"line_number":79,"context_line":"            LOG.debug(\"%(path)s still exists, rescanning. \","}],"source_content_type":"text/x-python","patch_set":10,"id":"7aaa499b_23e7acb1","line":76,"updated":"2015-04-14 17:42:46.000000000","message":"This is waiting on a device node and not a mount point, right?  Message seems misleading.","commit_id":"5ece852d6d54b9f0ebeeb84213c0db3bd5551542"},{"author":{"_account_id":5997,"name":"Walt","display_name":"Hemna","email":"waboring@hemna.com","username":"walter-boring","status":"SAP"},"change_message_id":"85281be131be99c3083759852283359928c4155e","unresolved":false,"context_lines":[{"line_number":73,"context_line":"                 backoff_rate\u003d1)"},{"line_number":74,"context_line":"    def wait_for_volume_removal(self, volume_path):"},{"line_number":75,"context_line":"        \"\"\"This is used to ensure that volumes are gone.\"\"\""},{"line_number":76,"context_line":"        LOG.debug(\"Waiting for SCSI mount point %s to be removed\","},{"line_number":77,"context_line":"                  volume_path)"},{"line_number":78,"context_line":"        if os.path.exists(volume_path):"},{"line_number":79,"context_line":"            LOG.debug(\"%(path)s still exists, rescanning. \","}],"source_content_type":"text/x-python","patch_set":10,"id":"7aaa499b_6e3c7bc8","line":76,"in_reply_to":"7aaa499b_23e7acb1","updated":"2015-04-14 17:47:42.000000000","message":"Done","commit_id":"5ece852d6d54b9f0ebeeb84213c0db3bd5551542"},{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"8f711c260d0d30ea431cb9119e2647c31b8e3123","unresolved":false,"context_lines":[{"line_number":81,"context_line":"            raise exception.VolumePathNotRemoved("},{"line_number":82,"context_line":"                volume_path\u003dvolume_path)"},{"line_number":83,"context_line":"        else:"},{"line_number":84,"context_line":"            LOG.debug(\"SCSI mount point %s has been removed.\", volume_path)"},{"line_number":85,"context_line":"            return"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    def get_device_info(self, device):"}],"source_content_type":"text/x-python","patch_set":10,"id":"7aaa499b_83ec4090","line":84,"updated":"2015-04-14 17:42:46.000000000","message":"Ditto.","commit_id":"5ece852d6d54b9f0ebeeb84213c0db3bd5551542"},{"author":{"_account_id":5997,"name":"Walt","display_name":"Hemna","email":"waboring@hemna.com","username":"walter-boring","status":"SAP"},"change_message_id":"85281be131be99c3083759852283359928c4155e","unresolved":false,"context_lines":[{"line_number":81,"context_line":"            raise exception.VolumePathNotRemoved("},{"line_number":82,"context_line":"                volume_path\u003dvolume_path)"},{"line_number":83,"context_line":"        else:"},{"line_number":84,"context_line":"            LOG.debug(\"SCSI mount point %s has been removed.\", volume_path)"},{"line_number":85,"context_line":"            return"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    def get_device_info(self, device):"}],"source_content_type":"text/x-python","patch_set":10,"id":"7aaa499b_4e377fe3","line":84,"in_reply_to":"7aaa499b_83ec4090","updated":"2015-04-14 17:47:42.000000000","message":"Done","commit_id":"5ece852d6d54b9f0ebeeb84213c0db3bd5551542"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"7db689491bc56ddcc30da53a02a8305fce22483b","unresolved":false,"context_lines":[{"line_number":82,"context_line":"                volume_path\u003dvolume_path)"},{"line_number":83,"context_line":"        else:"},{"line_number":84,"context_line":"            LOG.debug(\"SCSI mount point %s has been removed.\", volume_path)"},{"line_number":85,"context_line":"            return"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    def get_device_info(self, device):"},{"line_number":88,"context_line":"        (out, _err) \u003d self._execute(\u0027sg_scan\u0027, device, run_as_root\u003dTrue,"}],"source_content_type":"text/x-python","patch_set":10,"id":"7aaa499b_23fe8c37","line":85,"updated":"2015-04-14 17:47:53.000000000","message":"return unnecessary here since this is the end of the method, but harmless.\n\nActually, I would remove the whole \"else\" block and just have the debug statement.","commit_id":"5ece852d6d54b9f0ebeeb84213c0db3bd5551542"},{"author":{"_account_id":5997,"name":"Walt","display_name":"Hemna","email":"waboring@hemna.com","username":"walter-boring","status":"SAP"},"change_message_id":"af9dae6e22c1e226102fd71db4606cefb3e50e1f","unresolved":false,"context_lines":[{"line_number":82,"context_line":"                volume_path\u003dvolume_path)"},{"line_number":83,"context_line":"        else:"},{"line_number":84,"context_line":"            LOG.debug(\"SCSI mount point %s has been removed.\", volume_path)"},{"line_number":85,"context_line":"            return"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    def get_device_info(self, device):"},{"line_number":88,"context_line":"        (out, _err) \u003d self._execute(\u0027sg_scan\u0027, device, run_as_root\u003dTrue,"}],"source_content_type":"text/x-python","patch_set":10,"id":"7aaa499b_2e5793cf","line":85,"in_reply_to":"7aaa499b_23fe8c37","updated":"2015-04-14 17:54:13.000000000","message":"removing the return, but I tend to like the else:","commit_id":"5ece852d6d54b9f0ebeeb84213c0db3bd5551542"},{"author":{"_account_id":4355,"name":"Avishay Traeger","email":"avishay@stratoscale.com","username":"avishay-il"},"change_message_id":"4dfd7e445aeab09192543057f42ab1cbce873008","unresolved":false,"context_lines":[{"line_number":73,"context_line":"                 backoff_rate\u003d1)"},{"line_number":74,"context_line":"    def wait_for_volume_removal(self, volume_path):"},{"line_number":75,"context_line":"        \"\"\"This is used to ensure that volumes are gone.\"\"\""},{"line_number":76,"context_line":"        LOG.debug(\"Waiting for SCSI volume %s to be removed\","},{"line_number":77,"context_line":"                  volume_path)"},{"line_number":78,"context_line":"        if os.path.exists(volume_path):"},{"line_number":79,"context_line":"            LOG.debug(\"%(path)s still exists, rescanning. \","}],"source_content_type":"text/x-python","patch_set":14,"id":"7aaa499b_d12b2493","line":76,"updated":"2015-04-15 05:04:39.000000000","message":"You are not waiting here, you are checking to see if the path exists","commit_id":"2843df84b52d290690f94a73c8141d8f32c85c7a"},{"author":{"_account_id":5997,"name":"Walt","display_name":"Hemna","email":"waboring@hemna.com","username":"walter-boring","status":"SAP"},"change_message_id":"5867cda259df015ff28a66be9eb73c6351bffa6f","unresolved":false,"context_lines":[{"line_number":73,"context_line":"                 backoff_rate\u003d1)"},{"line_number":74,"context_line":"    def wait_for_volume_removal(self, volume_path):"},{"line_number":75,"context_line":"        \"\"\"This is used to ensure that volumes are gone.\"\"\""},{"line_number":76,"context_line":"        LOG.debug(\"Waiting for SCSI volume %s to be removed\","},{"line_number":77,"context_line":"                  volume_path)"},{"line_number":78,"context_line":"        if os.path.exists(volume_path):"},{"line_number":79,"context_line":"            LOG.debug(\"%(path)s still exists, rescanning. \","}],"source_content_type":"text/x-python","patch_set":14,"id":"7aaa499b_8b7b12f5","line":76,"in_reply_to":"7aaa499b_d12b2493","updated":"2015-04-15 16:02:35.000000000","message":"Done","commit_id":"2843df84b52d290690f94a73c8141d8f32c85c7a"},{"author":{"_account_id":4355,"name":"Avishay Traeger","email":"avishay@stratoscale.com","username":"avishay-il"},"change_message_id":"4dfd7e445aeab09192543057f42ab1cbce873008","unresolved":false,"context_lines":[{"line_number":76,"context_line":"        LOG.debug(\"Waiting for SCSI volume %s to be removed\","},{"line_number":77,"context_line":"                  volume_path)"},{"line_number":78,"context_line":"        if os.path.exists(volume_path):"},{"line_number":79,"context_line":"            LOG.debug(\"%(path)s still exists, rescanning. \","},{"line_number":80,"context_line":"                      {\u0027path\u0027: volume_path})"},{"line_number":81,"context_line":"            raise exception.VolumePathNotRemoved("},{"line_number":82,"context_line":"                volume_path\u003dvolume_path)"}],"source_content_type":"text/x-python","patch_set":14,"id":"7aaa499b_f1306003","line":79,"updated":"2015-04-15 05:04:39.000000000","message":"This debug message is misleading - please remove \", rescanning\" (and while you\u0027re at it, the space after the period)","commit_id":"2843df84b52d290690f94a73c8141d8f32c85c7a"},{"author":{"_account_id":5997,"name":"Walt","display_name":"Hemna","email":"waboring@hemna.com","username":"walter-boring","status":"SAP"},"change_message_id":"5867cda259df015ff28a66be9eb73c6351bffa6f","unresolved":false,"context_lines":[{"line_number":76,"context_line":"        LOG.debug(\"Waiting for SCSI volume %s to be removed\","},{"line_number":77,"context_line":"                  volume_path)"},{"line_number":78,"context_line":"        if os.path.exists(volume_path):"},{"line_number":79,"context_line":"            LOG.debug(\"%(path)s still exists, rescanning. \","},{"line_number":80,"context_line":"                      {\u0027path\u0027: volume_path})"},{"line_number":81,"context_line":"            raise exception.VolumePathNotRemoved("},{"line_number":82,"context_line":"                volume_path\u003dvolume_path)"}],"source_content_type":"text/x-python","patch_set":14,"id":"7aaa499b_6b80c6c0","line":79,"in_reply_to":"7aaa499b_f1306003","updated":"2015-04-15 16:02:35.000000000","message":"Done","commit_id":"2843df84b52d290690f94a73c8141d8f32c85c7a"}],"os_brick/tests/initiator/test_connector.py":[{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"e6b519d47cfa3c9888e66f41f2fb5bbd387c2c01","unresolved":false,"context_lines":[{"line_number":266,"context_line":""},{"line_number":267,"context_line":"        with mock.patch.object(os.path, \u0027exists\u0027,"},{"line_number":268,"context_line":"                               side_effect\u003ddisconnect_mock):"},{"line_number":269,"context_line":"            #mock_exists.side_effect \u003d [True, True, True, True, True, False]"},{"line_number":270,"context_line":"            #mock_exists.side_effect \u003d foo"},{"line_number":271,"context_line":"            self.connector.disconnect_volume(connection_info[\u0027data\u0027], device)"},{"line_number":272,"context_line":"            expected_commands \u003d ["}],"source_content_type":"text/x-python","patch_set":7,"id":"9aa53dc9_f9475275","line":269,"updated":"2015-04-07 22:41:54.000000000","message":"Commented out code should be removed.","commit_id":"48152eb5ed6d61314716308782ad295aced127fc"},{"author":{"_account_id":5997,"name":"Walt","display_name":"Hemna","email":"waboring@hemna.com","username":"walter-boring","status":"SAP"},"change_message_id":"259867d64817544fd4667a6484df192347e33205","unresolved":false,"context_lines":[{"line_number":266,"context_line":""},{"line_number":267,"context_line":"        with mock.patch.object(os.path, \u0027exists\u0027,"},{"line_number":268,"context_line":"                               side_effect\u003ddisconnect_mock):"},{"line_number":269,"context_line":"            #mock_exists.side_effect \u003d [True, True, True, True, True, False]"},{"line_number":270,"context_line":"            #mock_exists.side_effect \u003d foo"},{"line_number":271,"context_line":"            self.connector.disconnect_volume(connection_info[\u0027data\u0027], device)"},{"line_number":272,"context_line":"            expected_commands \u003d ["}],"source_content_type":"text/x-python","patch_set":7,"id":"9aa53dc9_ac23c5a6","line":269,"in_reply_to":"9aa53dc9_f9475275","updated":"2015-04-08 02:05:59.000000000","message":"Done","commit_id":"48152eb5ed6d61314716308782ad295aced127fc"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"e6b519d47cfa3c9888e66f41f2fb5bbd387c2c01","unresolved":false,"context_lines":[{"line_number":284,"context_line":"                (\u0027iscsiadm -m node -T %s -p %s --logout\u0027 % (iqn, location)),"},{"line_number":285,"context_line":"                (\u0027iscsiadm -m node -T %s -p %s --op delete\u0027 %"},{"line_number":286,"context_line":"                 (iqn, location)), ] + additional_commands"},{"line_number":287,"context_line":"            LOG.debug(\"self.cmds \u003d %s\" % self.cmds)"},{"line_number":288,"context_line":"            LOG.debug(\"expected \u003d %s\" % expected_commands)"},{"line_number":289,"context_line":""},{"line_number":290,"context_line":"            LOG.debug(\"count \u003d %s\" % self.count)"}],"source_content_type":"text/x-python","patch_set":7,"id":"9aa53dc9_9959665d","line":287,"updated":"2015-04-07 22:41:54.000000000","message":"% \u003d\u003e ,","commit_id":"48152eb5ed6d61314716308782ad295aced127fc"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"e6b519d47cfa3c9888e66f41f2fb5bbd387c2c01","unresolved":false,"context_lines":[{"line_number":285,"context_line":"                (\u0027iscsiadm -m node -T %s -p %s --op delete\u0027 %"},{"line_number":286,"context_line":"                 (iqn, location)), ] + additional_commands"},{"line_number":287,"context_line":"            LOG.debug(\"self.cmds \u003d %s\" % self.cmds)"},{"line_number":288,"context_line":"            LOG.debug(\"expected \u003d %s\" % expected_commands)"},{"line_number":289,"context_line":""},{"line_number":290,"context_line":"            LOG.debug(\"count \u003d %s\" % self.count)"},{"line_number":291,"context_line":"            print (\"ass \u003d %s\" % self.count)"}],"source_content_type":"text/x-python","patch_set":7,"id":"9aa53dc9_79546220","line":288,"updated":"2015-04-07 22:41:54.000000000","message":"% \u003d\u003e ,","commit_id":"48152eb5ed6d61314716308782ad295aced127fc"},{"author":{"_account_id":5997,"name":"Walt","display_name":"Hemna","email":"waboring@hemna.com","username":"walter-boring","status":"SAP"},"change_message_id":"259867d64817544fd4667a6484df192347e33205","unresolved":false,"context_lines":[{"line_number":285,"context_line":"                (\u0027iscsiadm -m node -T %s -p %s --op delete\u0027 %"},{"line_number":286,"context_line":"                 (iqn, location)), ] + additional_commands"},{"line_number":287,"context_line":"            LOG.debug(\"self.cmds \u003d %s\" % self.cmds)"},{"line_number":288,"context_line":"            LOG.debug(\"expected \u003d %s\" % expected_commands)"},{"line_number":289,"context_line":""},{"line_number":290,"context_line":"            LOG.debug(\"count \u003d %s\" % self.count)"},{"line_number":291,"context_line":"            print (\"ass \u003d %s\" % self.count)"}],"source_content_type":"text/x-python","patch_set":7,"id":"9aa53dc9_8c3b61d1","line":288,"in_reply_to":"9aa53dc9_79546220","updated":"2015-04-08 02:05:59.000000000","message":"Done","commit_id":"48152eb5ed6d61314716308782ad295aced127fc"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"e6b519d47cfa3c9888e66f41f2fb5bbd387c2c01","unresolved":false,"context_lines":[{"line_number":287,"context_line":"            LOG.debug(\"self.cmds \u003d %s\" % self.cmds)"},{"line_number":288,"context_line":"            LOG.debug(\"expected \u003d %s\" % expected_commands)"},{"line_number":289,"context_line":""},{"line_number":290,"context_line":"            LOG.debug(\"count \u003d %s\" % self.count)"},{"line_number":291,"context_line":"            print (\"ass \u003d %s\" % self.count)"},{"line_number":292,"context_line":"            self.assertEqual(expected_commands, self.cmds)"},{"line_number":293,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"9aa53dc9_b95aea4e","line":290,"updated":"2015-04-07 22:41:54.000000000","message":"% \u003d\u003e ,","commit_id":"48152eb5ed6d61314716308782ad295aced127fc"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"e6b519d47cfa3c9888e66f41f2fb5bbd387c2c01","unresolved":false,"context_lines":[{"line_number":288,"context_line":"            LOG.debug(\"expected \u003d %s\" % expected_commands)"},{"line_number":289,"context_line":""},{"line_number":290,"context_line":"            LOG.debug(\"count \u003d %s\" % self.count)"},{"line_number":291,"context_line":"            print (\"ass \u003d %s\" % self.count)"},{"line_number":292,"context_line":"            self.assertEqual(expected_commands, self.cmds)"},{"line_number":293,"context_line":""},{"line_number":294,"context_line":"    @testtools.skipUnless(os.path.exists(\u0027/dev/disk/by-path\u0027),"}],"source_content_type":"text/x-python","patch_set":7,"id":"9aa53dc9_3935baf6","line":291,"updated":"2015-04-07 22:41:54.000000000","message":"% \u003d\u003e ,","commit_id":"48152eb5ed6d61314716308782ad295aced127fc"}],"os_brick/utils.py":[{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"7db689491bc56ddcc30da53a02a8305fce22483b","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#    (c) Copyright 2012-2015 Hewlett-Packard Development Company, L.P."},{"line_number":2,"context_line":"#    All Rights Reserved."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-python","patch_set":10,"id":"7aaa499b_2e3673e6","line":1,"updated":"2015-04-14 17:47:53.000000000","message":"Not sure how I feel about this. This code is copied from work done in cinder/utils.py by someone outside of HP. Probably fine.","commit_id":"5ece852d6d54b9f0ebeeb84213c0db3bd5551542"},{"author":{"_account_id":5997,"name":"Walt","display_name":"Hemna","email":"waboring@hemna.com","username":"walter-boring","status":"SAP"},"change_message_id":"552b6de4164d5bc36a8695a5b0eafa852d46dc74","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#    (c) Copyright 2012-2015 Hewlett-Packard Development Company, L.P."},{"line_number":2,"context_line":"#    All Rights Reserved."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-python","patch_set":10,"id":"7aaa499b_ce86ef64","line":1,"in_reply_to":"7aaa499b_2e3673e6","updated":"2015-04-14 17:51:11.000000000","message":"Done","commit_id":"5ece852d6d54b9f0ebeeb84213c0db3bd5551542"},{"author":{"_account_id":1736,"name":"Ivan Kolodyazhny","email":"e0ne@e0ne.info","username":"e0ne"},"change_message_id":"6c239a280b832b664b02680d200b954625a71620","unresolved":false,"context_lines":[{"line_number":13,"context_line":"\"\"\"Utilities and helper functions.\"\"\""},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"from oslo_log import log as logging"},{"line_number":16,"context_line":"import retrying"},{"line_number":17,"context_line":"import six"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":""}],"source_content_type":"text/x-python","patch_set":19,"id":"dac4157f_251279b5","line":16,"updated":"2015-04-19 19:37:59.000000000","message":"Please, add it to requirements.txt","commit_id":"e6ef7a91de44bcce2f18c55e6d1e2105f28cddb7"},{"author":{"_account_id":5997,"name":"Walt","display_name":"Hemna","email":"waboring@hemna.com","username":"walter-boring","status":"SAP"},"change_message_id":"9d4dd15ea4f83911c15b7e15c5f08ae3773baa4d","unresolved":false,"context_lines":[{"line_number":13,"context_line":"\"\"\"Utilities and helper functions.\"\"\""},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"from oslo_log import log as logging"},{"line_number":16,"context_line":"import retrying"},{"line_number":17,"context_line":"import six"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":""}],"source_content_type":"text/x-python","patch_set":19,"id":"dac4157f_db0387b7","line":16,"in_reply_to":"dac4157f_251279b5","updated":"2015-04-20 15:03:04.000000000","message":"Done","commit_id":"e6ef7a91de44bcce2f18c55e6d1e2105f28cddb7"},{"author":{"_account_id":1736,"name":"Ivan Kolodyazhny","email":"e0ne@e0ne.info","username":"e0ne"},"change_message_id":"6c239a280b832b664b02680d200b954625a71620","unresolved":false,"context_lines":[{"line_number":20,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"def retry(exceptions, interval\u003d1, retries\u003d3, backoff_rate\u003d2):"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"    def _retry_on_exception(e):"},{"line_number":26,"context_line":"        return isinstance(e, exceptions)"}],"source_content_type":"text/x-python","patch_set":19,"id":"dac4157f_a53fa924","line":23,"updated":"2015-04-19 19:37:59.000000000","message":"This decorator is used in two places. Need to think how to move it to oslo.utils","commit_id":"e6ef7a91de44bcce2f18c55e6d1e2105f28cddb7"},{"author":{"_account_id":11904,"name":"Sean McGinnis","email":"sean.mcginnis@gmail.com","username":"SeanM"},"change_message_id":"713c33175b538f51f0b003e01ee897ba0a487383","unresolved":false,"context_lines":[{"line_number":39,"context_line":"        return previous_attempt_number \u003d\u003d retries"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    if retries \u003c 1:"},{"line_number":42,"context_line":"        raise ValueError(\u0027Retries must be greater than or \u0027"},{"line_number":43,"context_line":"                         \u0027equal to 1 (received: %s). \u0027 % retries)"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    def _decorator(f):"}],"source_content_type":"text/x-python","patch_set":19,"id":"1ab14d0d_41ad7687","line":42,"updated":"2015-04-18 01:47:44.000000000","message":"Needs _().","commit_id":"e6ef7a91de44bcce2f18c55e6d1e2105f28cddb7"},{"author":{"_account_id":5997,"name":"Walt","display_name":"Hemna","email":"waboring@hemna.com","username":"walter-boring","status":"SAP"},"change_message_id":"9d4dd15ea4f83911c15b7e15c5f08ae3773baa4d","unresolved":false,"context_lines":[{"line_number":39,"context_line":"        return previous_attempt_number \u003d\u003d retries"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"    if retries \u003c 1:"},{"line_number":42,"context_line":"        raise ValueError(\u0027Retries must be greater than or \u0027"},{"line_number":43,"context_line":"                         \u0027equal to 1 (received: %s). \u0027 % retries)"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    def _decorator(f):"}],"source_content_type":"text/x-python","patch_set":19,"id":"dac4157f_9b2cef4b","line":42,"in_reply_to":"1ab14d0d_41ad7687","updated":"2015-04-20 15:03:04.000000000","message":"Done","commit_id":"e6ef7a91de44bcce2f18c55e6d1e2105f28cddb7"}]}
