Minor refactor: Unnecessary use of list() function (#8672)

This commit is contained in:
Ahzam Ahmed 2022-09-27 20:08:40 +05:00 committed by GitHub
parent 3e51ba4d51
commit 9e398c59ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,7 @@ class ViewInspector:
view.get_view_description())
def _get_description_section(self, view, header, description):
lines = list(description.splitlines())
lines = description.splitlines()
current_section = ''
sections = {'': ''}