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

[tor-commits] [bridgedb/master] Remove old bridgedb.Opt module.



commit 9463c6f49b00d7fcaab5fcd40fada114b0428792
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Sat Oct 26 11:34:23 2013 +0000

    Remove old bridgedb.Opt module.
---
 lib/bridgedb/Opt.py |   17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/lib/bridgedb/Opt.py b/lib/bridgedb/Opt.py
deleted file mode 100644
index 3649213..0000000
--- a/lib/bridgedb/Opt.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# Parse command line args
-
-import optparse
-
-def parseOpts():
-    cmdParser = optparse.OptionParser()
-    cmdParser.add_option("-c", "--config", dest="configfile",
-                        default="./bridgedb.conf",
-                        help="set config file to FILE", metavar="FILE")
-    cmdParser.add_option("-d", "--dump-bridges", dest="dumpbridges",
-                        action="store_true", default=False,
-                        help="dump reserved bridges into files")
-    cmdParser.add_option("-t", "--testing", dest="testing",
-                        action="store_true", default=False,
-                        help="do some sanity tests")
-    
-    return cmdParser.parse_args()



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