From: Jason Kirtland Date: Mon, 23 Jul 2007 22:05:46 +0000 (+0000) Subject: Oops, --log-{info,debug}= args need to accept values... X-Git-Tag: rel_0_4_6~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47f36041de46755c0485d46f73903e706ec5a51c;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Oops, --log-{info,debug}= args need to accept values... --- diff --git a/test/testlib/config.py b/test/testlib/config.py index ca24a72560..f05cda46d3 100644 --- a/test/testlib/config.py +++ b/test/testlib/config.py @@ -81,9 +81,9 @@ opt = parser.add_option opt("--verbose", action="store_true", dest="verbose", help="enable stdout echoing/printing") opt("--quiet", action="store_true", dest="quiet", help="suppress output") -opt("--log-info", action="callback", callback=_log, +opt("--log-info", action="callback", type="string", callback=_log, help="turn on info logging for (multiple OK)") -opt("--log-debug", action="callback", callback=_log, +opt("--log-debug", action="callback", type="string", callback=_log, help="turn on debug logging for (multiple OK)") opt("--require", action="append", dest="require", default=[], help="require a particular driver or module version (multiple OK)")