summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Fayolle <alexandre.fayolle@logilab.fr>2010-01-20 09:08:34 +0100
committerAlexandre Fayolle <alexandre.fayolle@logilab.fr>2010-01-20 09:08:34 +0100
commit812c29bd7c6ac3d20996d2e41723bc81ec9bbeab (patch)
treec9ba44e1ed95d940aea91734b080d72967dd342a
parent435b390054edbfd78ade9ce2f2e572253e70d0f0 (diff)
downloadlogilab-common-812c29bd7c6ac3d20996d2e41723bc81ec9bbeab.tar.gz
update backup_command signature in base class to match interface
The derived classes implementing that method had a different signature, matching the one used by clients of the class (cubicweb)
-rw-r--r--adbh.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/adbh.py b/adbh.py
index 4e7f18d..9537ad8 100644
--- a/adbh.py
+++ b/adbh.py
@@ -165,14 +165,14 @@ class _GenericAdvFuncHelper:
"""return the system database for the given driver"""
raise NotImplementedError('not supported by this DBMS')
- def backup_command(self, dbname, dbhost, dbuser, dbpassword, backupfile,
+ def backup_command(self, dbname, dbhost, dbuser, backupfile,
keepownership=True):
"""return a command to backup the given database"""
raise NotImplementedError('not supported by this DBMS')
def restore_commands(self, dbname, dbhost, dbuser, backupfile,
encoding='utf-8', keepownership=True, drop=True):
- """return a list of commands to restore a backup the given database"""
+ """return a list of commands to restore a backup of the given database"""
raise NotImplementedError('not supported by this DBMS')
# helpers to standardize SQL according to the database