remove duplicated code

Change-Id: Ie4380f034c7738a3fd0dd190960331aa1dc5f235
This commit is contained in:
suzhengwei 2023-08-02 15:26:27 +08:00
parent c1928878d0
commit cb7ae677a6
1 changed files with 0 additions and 3 deletions

View File

@ -74,9 +74,6 @@ class DetailView(tabs.TabbedTableView):
@memoized.memoized_method
def get_data(self):
row_data = self.kwargs['host_id'].split(',')
segment_id = row_data[1]
host_id = row_data[0]
try:
row_data = self.kwargs['host_id'].split(',')
segment_id = row_data[1]