Some clumsy coding related fixes reported by SonarQube.

This commit is contained in:
Aditya Toshniwal
2020-06-15 16:50:07 +05:30
committed by Akshay Joshi
parent a23fad0ba8
commit 641f7bbe9d
17 changed files with 181 additions and 205 deletions
+3 -3
View File
@@ -252,9 +252,9 @@ class SQLFilter(object):
if self._row_filter is None or self._row_filter == '':
is_filter_applied = False
if not is_filter_applied:
if self._data_sorting and len(self._data_sorting) > 0:
is_filter_applied = True
if not is_filter_applied and \
self._data_sorting and len(self._data_sorting) > 0:
is_filter_applied = True
return is_filter_applied