Fixed code smell 'Unexpected empty arrow function' reported by SonarQube.

This commit is contained in:
Akshay Joshi
2022-01-12 17:32:20 +05:30
parent d2457f2a1d
commit c98fb887cc
94 changed files with 1023 additions and 1023 deletions

View File

@@ -76,9 +76,9 @@ RECORD_ARRAY = (2287,)
#
# For below two sql psycopg2 returns result in different formats.
# SELECT '{foo,bar}'::text[];
# print('type of {} ==> {}'.format(res[0], type(res[0])))
# print('type of {} ==> {/*This is intentional (SonarQube)*/}'.format(res[0], type(res[0])))
# SELECT '{<a>foo</a>,<b>bar</b>}'::xml[];
# print('type of {} ==> {}'.format(res[0], type(res[0])))
# print('type of {} ==> {/*This is intentional (SonarQube)*/}'.format(res[0], type(res[0])))
#
# Output:
# type of ['foo', 'bar'] ==> <type 'list'>