remove superfluous constructor which the parent class already has
authorDavid Stainton <dstainton415@gmail.com>
Tue, 14 Jul 2015 23:36:11 +0000 (16:36 -0700)
committerDaira Hopwood <daira@jacaranda.org>
Thu, 1 Oct 2015 00:19:45 +0000 (01:19 +0100)
src/allmydata/backupdb.py

index b24c217ede102ab7e867166141c0d6ec92dcbc56..2d720a1c1eca2a9421afb8c5acda01ba5b061dea 100644 (file)
@@ -368,11 +368,6 @@ class BackupDB_v2:
 class BackupDB_v3(BackupDB_v2):
     VERSION = 3 # XXX does this override the class var from parent class?
 
-    def __init__(self, sqlite_module, connection):
-        self.sqlite_module = sqlite_module
-        self.connection = connection
-        self.cursor = connection.cursor()
-
     def get_local_file_version(self, path):
         """I will tell you the version of a local file tracked by our magic folder db.
         If no db entry found then I'll return None.