mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
DBManager: added missing required (not implicit) self argument
This commit is contained in:
parent
b4d8a5aea7
commit
c64b715773
@ -60,13 +60,13 @@ class DBConnector:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
def execution_error_types():
|
def execution_error_types(self):
|
||||||
raise Exception("DBConnector.execution_error_types() is an abstract method")
|
raise Exception("DBConnector.execution_error_types() is an abstract method")
|
||||||
|
|
||||||
def connection_error_types():
|
def connection_error_types(self):
|
||||||
raise Exception("DBConnector.connection_error_types() is an abstract method")
|
raise Exception("DBConnector.connection_error_types() is an abstract method")
|
||||||
|
|
||||||
def error_types():
|
def error_types(self):
|
||||||
return self.connection_error_types() + self.execution_error_types()
|
return self.connection_error_types() + self.execution_error_types()
|
||||||
|
|
||||||
def _execute(self, cursor, sql):
|
def _execute(self, cursor, sql):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user