Skip to content

Commit

Permalink
DBManager: added missing required (not implicit) self argument
Browse files Browse the repository at this point in the history
  • Loading branch information
brushtyler committed May 20, 2012
1 parent b4d8a5a commit c64b715
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/plugins/db_manager/db_plugins/connector.py
Expand Up @@ -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):
Expand Down

0 comments on commit c64b715

Please sign in to comment.