mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-09-03 20:52:57 -05:00
Fixed convention related issues reported by SonarQube.
This commit is contained in:
committed by
Akshay Joshi
parent
2cefa9afca
commit
357a9179b1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user