Skip to content
Permalink
Browse files

DBManager: added missing required (not implicit) self argument

  • Loading branch information
brushtyler authored and jef-n committed May 21, 2012
1 parent db6f314 commit c4adf7761597ece34dc517113f14cf2e8aa13670
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/db_manager/db_plugins/connector.py
@@ -60,13 +60,13 @@ def hasTableColumnEditingSupport(self):
return False


def execution_error_types():
def execution_error_types(self):
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")

def error_types():
def error_types(self):
return self.connection_error_types() + self.execution_error_types()

def _execute(self, cursor, sql):

0 comments on commit c4adf77

Please sign in to comment.
You can’t perform that action at this time.