From e5525cd7da8162f8f34a229aa5383a174623fa63 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sun, 5 Oct 2003 03:33:15 +0000 Subject: [PATCH] Incremented version number and added two docstrings. --- src/conf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/conf.py b/src/conf.py index 2b55fae18..d67c216de 100644 --- a/src/conf.py +++ b/src/conf.py @@ -221,13 +221,14 @@ driverModule = 'socketDrivers' ############################### ############################### ############################### -version ='0.72.0' +version ='0.73.0' commandsOnStart = [] # This is a dictionary mapping names to converter functions for use in the # OwnerCommands.setconf command. def mybool(s): + """Converts a string read from the user into a bool, fuzzily.""" if s.capitalize() == 'False' or s == '0': return False elif s.capitalize() == 'True' or s == '1': @@ -236,6 +237,7 @@ def mybool(s): raise ValueError, 'invalid literal for mybool()' def mystr(s): + """Converts a string read from the user into a real string.""" while s and s[0] in "'\"" and s[0] == s[-1]: s = s[1:-1] return s