server/sources/native.py
branchstable
changeset 4195 86dcaf6bb92f
parent 4185 ed99de8f93f2
child 4198 8d644eb862b9
--- a/server/sources/native.py	Tue Dec 22 20:06:24 2009 +0100
+++ b/server/sources/native.py	Tue Dec 22 21:02:37 2009 +0100
@@ -214,12 +214,12 @@
         finally:
             self.open_pool_connections()
 
-    def restore(self, backupfile, drop):
+    def restore(self, backupfile, confirm, drop):
         """method called to restore a backup of source's data"""
         if self.repo.config.open_connections_pools:
             self.close_pool_connections()
         try:
-            self.restore_from_file(backupfile, drop)
+            self.restore_from_file(backupfile, confirm, drop=drop)
         finally:
             if self.repo.config.open_connections_pools:
                 self.open_pool_connections()