]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Oops, --log-{info,debug}= args need to accept values...
authorJason Kirtland <jek@discorporate.us>
Mon, 23 Jul 2007 22:05:46 +0000 (22:05 +0000)
committerJason Kirtland <jek@discorporate.us>
Mon, 23 Jul 2007 22:05:46 +0000 (22:05 +0000)
test/testlib/config.py

index ca24a725601532e27714b4098826167e58443511..f05cda46d3bed690fed5954f03f31c00beb2c239 100644 (file)
@@ -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 <LOG> (multiple OK)")
-opt("--log-debug", action="callback", callback=_log,
+opt("--log-debug", action="callback", type="string", callback=_log,
     help="turn on debug logging for <LOG> (multiple OK)")
 opt("--require", action="append", dest="require", default=[],
     help="require a particular driver or module version (multiple OK)")