[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [bridgedb/master] Remove unnecessary database initialisation from bridgedb.Main.



commit 3bad1b9fcb698ba5d74a07499dcdd23409d5b044
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Mon May 11 21:24:07 2015 +0000

    Remove unnecessary database initialisation from bridgedb.Main.
    
    Conflicts:
    	lib/bridgedb/Main.py
---
 lib/bridgedb/Main.py |    1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/bridgedb/Main.py b/lib/bridgedb/Main.py
index 1714a53..76c122c 100644
--- a/lib/bridgedb/Main.py
+++ b/lib/bridgedb/Main.py
@@ -378,7 +378,6 @@ def run(options, reactor=reactor):
 
         # Initialize our DB.
         bridgedb.Storage.initializeDBLock()
-        db = bridgedb.Storage.openDatabase(cfg.DB_FILE + ".sqlite")
         bridgedb.Storage.setDBFilename(cfg.DB_FILE + ".sqlite")
         load(state, splitter, clear=False)
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits