Fixed convention related issues reported by SonarQube.

This commit is contained in:
Aditya Toshniwal
2020-07-09 18:55:33 +05:30
committed by Akshay Joshi
parent 2cefa9afca
commit 357a9179b1
20 changed files with 73 additions and 73 deletions
+1 -1
View File
@@ -919,7 +919,7 @@ class QueryToolCommand(BaseCommand, FetchedRowTracker):
conn = manager.connection(did=self.did, conn_id=self.conn_id)
# Get the driver version as a float
driver_version = float('.'.join(driver.Version().split('.')[:2]))
driver_version = float('.'.join(driver.version().split('.')[:2]))
# Checking for updatable resultsets uses features in psycopg 2.8
if driver_version < 2.8: