diff --git a/config/JarMaker.py b/config/JarMaker.py --- a/config/JarMaker.py +++ b/config/JarMaker.py @@ -403,7 +403,10 @@ noise = logging.INFO if options.verbose is not None: noise = (options.verbose and logging.DEBUG) or logging.WARN - logging.basicConfig(level = noise, format = "%(message)s") + if sys.version_info[:2] > (2,3): + logging.basicConfig(level = noise, format = "%(message)s") + else: + logging.basicConfig() if not args: jm.makeJar(infile=sys.stdin, sourcedirs=options.s, topsourcedir=options.t,