[tor-commits] [bridgedb/master] Add somewhat of a docstring to Main.startup().

isis at torproject.org isis at torproject.org
Sun Jan 12 06:06:32 UTC 2014


commit c7008c92fc544cf931d82a6873036595a8f00d22
Author: Isis Lovecruft <isis at torproject.org>
Date:   Fri Nov 15 14:27:05 2013 +0000

    Add somewhat of a docstring to Main.startup().
---
 lib/bridgedb/Main.py |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/bridgedb/Main.py b/lib/bridgedb/Main.py
index 712c6dd..42f361d 100644
--- a/lib/bridgedb/Main.py
+++ b/lib/bridgedb/Main.py
@@ -310,6 +310,10 @@ class ProxyCategory:
 
 def startup(options, rundir, configFile):
     """Parse bridges,
+
+    :type state: :class:`bridgedb.persistent.State`
+    :param state: A persistent state object which holds options and config
+         changes.
     """
     # Change to the directory where we're supposed to run. This must be done
     # before parsing the config file, otherwise there will need to be two





More information about the tor-commits mailing list