diff options
author | Alexandre Fayolle <alexandre.fayolle@logilab.fr> | 2010-01-20 09:08:34 +0100 |
---|---|---|
committer | Alexandre Fayolle <alexandre.fayolle@logilab.fr> | 2010-01-20 09:08:34 +0100 |
commit | 812c29bd7c6ac3d20996d2e41723bc81ec9bbeab (patch) | |
tree | c9ba44e1ed95d940aea91734b080d72967dd342a | |
parent | 435b390054edbfd78ade9ce2f2e572253e70d0f0 (diff) | |
download | logilab-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.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |