cosmeticado

This commit is contained in:
Miroslav Stampar 2010-12-26 09:53:40 +00:00
parent cd337d9f39
commit 17d74fc83c

View File

@ -75,8 +75,11 @@ def tableExists(tableFile):
iolock.release() iolock.release()
if conf.threads > 1: if conf.threads > 1:
debugMsg = "starting %d thread%s" % (conf.threads, ("s" if conf.threads > 1 else "")) debugMsg = "starting %d threads" % conf.threads
logger.debug(debugMsg) logger.debug(debugMsg)
else:
warnMsg = "running in a single-thread mode. this could take a while."
logger.warn(warnMsg)
# Start the threads # Start the threads
for numThread in range(conf.threads): for numThread in range(conf.threads):
@ -172,8 +175,11 @@ def columnExists(columnFile):
iolock.release() iolock.release()
if conf.threads > 1: if conf.threads > 1:
debugMsg = "starting %d thread%s" % (conf.threads, ("s" if conf.threads > 1 else "")) debugMsg = "starting %d threads" % conf.threads
logger.debug(debugMsg) logger.debug(debugMsg)
else:
warnMsg = "running in a single-thread mode. this could take a while."
logger.warn(warnMsg)
# Start the threads # Start the threads
for numThread in range(conf.threads): for numThread in range(conf.threads):